File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "need help in chat server project" Watch "need help in chat server project" New topic

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
in and

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


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

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

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
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.
Sagar Surana

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

Sagar Surana

Sagar Surana<BR>optimist
Frank Carver

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 ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
I agree. Here's the link:
subject: need help in chat server project
It's not a secret anymore!