tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ekrem Aksoy <formulasfa...@yahoo.com>
Subject i could not see the session example!!!
Date Sun, 03 Jun 2001 11:03:55 GMT
I am using 3.2.1 on SuSE 7, tomcat started well ,and i
was checking the examples but it gives this error:
Error: 500

Location: /examples/servlet/SessionExample

Internal Servlet Error:

java.lang.NoSuchMethodError:
javax.servlet.http.HttpSession: method
getAttributeNames()Ljava/util/Enumeration; not found
        at
SessionExample.doGet(SessionExample.java:70)
        at
javax.servlet.http.HttpServlet.service(HttpServlet.java:715)
        at
javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
        at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
        at
org.apache.tomcat.core.Handler.service(Handler.java:286)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:475)
-----
,Then i tried my own session servlet and it gives same
error, i am a newbie, so what could be the problem...?
P.S: i think i set the CLASSPATH well

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Mime
View raw message