File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes need help in chat server project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "need help in chat server project" Watch "need help in chat server project" New topic
Author

need help in chat server project

Amit Madan
Ranch Hand

Joined: Dec 20, 2000
Posts: 32
Dear Friends
i have done Chat server poject form java server programing book.
(wrox publication)
i have downloaded codes form site.but when i run it i got two
errors
first
in ChatRoomServlet.java and ListRoomServlet.java

getSession(boolean) in javax.servlet.http.HttpServletRequest cannot
be
applied to ()
HttpSession session=req.getSession();

second
in ChatAdminServlet.java

cannot resolve symbol
symble: method setAttribute(java.lang.String,RoomList)
location: interface javax.servlet.servletContext
getServletContext().setAttribute("roomList",roomList);

i am using jsdk2.0 for it.
Please provide me solution.
thanking you
sincerely
Amit Madan
Taqi Hasan
Greenhorn

Joined: Aug 16, 2000
Posts: 24
Use servelet engine 2.1
I am sure your problem will be solved.
If not then contact me at taqihasan@hotmail.com
Regards.
Taqi
Amit Madan
Ranch Hand

Joined: Dec 20, 2000
Posts: 32
Hi Taqi
i have taken tomcat 3.2 and
i face a problem to run tomcat3.2 server.
after setting JAVA_HOME & TOMCAT_HOME when i run startup.bat file it show me the message that
cannot find file 'c:\jdk1.3;\bin\java (or one of components).
Check to ensure the path and filename are correct and that all requried libraries are avaiable.
please give me the solution of this problem.
Amit Madan
anjan bhushan
Ranch Hand

Joined: Dec 12, 2000
Posts: 71
it should be c:\jdk1.3\bin


I am the most eligible bachelor in whole world, but only known in limited territory!!!
Digital Intoxication Blog
Amit Madan
Ranch Hand

Joined: Dec 20, 2000
Posts: 32
Hello anjan
what you want to say i cant understand.i have also tried to give java_home=c:\jdk1.3\bin but result is same.
Amit
Sagar Surana
Greenhorn

Joined: Dec 23, 2000
Posts: 21
hello Amit can u give me name of some sites where i can get code for such type od projects
thankx:-)

------------------
Sagar Surana
optimist


Sagar Surana<BR>optimist
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
Amit, if you look at the error message that you quote, you will see an extra ";" between "c:\jdk1.3" and "\bin\java". This indicates that you have set JAVA_HOME to be "c:\jdk1.3;" rather than the "c:\jdk1.3" which it should be, just as anjan bhushan notes.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: need help in chat server project
 
Similar Threads
free hosting for my chatServer
Chat Applet!!!!
multiple HTML popup windows
HTTP method GET is not supported error when the JSP is making POST request to the servlet
Shoud I use window.location.replace() with Struts?