On Thu, 20 Dec 2001, Jayashree Gopal wrote:

> Date: Thu, 20 Dec 2001 00:15:01 -0800 (PST)
> From: Jayashree Gopal <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: VERY VERY URGENT!!! PLEASE HELP!!!
>
> Hello,
> I have Tomcat version 4.0 installed which supports
> servlet 2.3 API and JSP 1.2 specifications.
>
> I am writing a servlet which creates a session and
> includes the username and password inside this
> session. I am passing the session ID to the other html
> pages generated thru a servlet. However when i try to
> compile the first servlet which creates a session,It
> gives me a compilation error at the putAttribute()
> methods. The putAttribute() method is a replacement
> for the putValue() method in Servlet 1.2. Is not
> servlet.jar in tomcat 4.0 the servlet 2.3 .class
> files.
>
> Please let me know how do i rectify this error.

You probably have the wrong servlet.jar file in your CLASSPATH at compile
time.  It should be the one that came with Tomcat 4.  Note that this is
totally independent of what Tomcat actually uses when it runs.

>
> Thanks!
> Jayashree.
>

Craig


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to