Hi Mauricio,
No, you don't have to use JavaBeans to use the implicit session object.
As long as you have session enabled for your webapp, you will get a session
object.
As for your second question, you really should think what will happen when
more than 2 request arrive at the same time.
Did you try restarting Tomcat after putting the class file in the correct
place?
Glen Verran
HI Wiwi,
You don't have to explicitly create a session object in JSP.
A new session will be started for every new connection.
You will be able to access the session object using the implicit Session
Object.
Refer to the Javadoc for HttpSession at:
Hi Glen,
From the error message, your class LogonData is part of the
org.apache.jsp packages.
If that is right, you will need to put the class file LogonData.class in c:
\tomcat\webapps\ROOT\WEB_INF\classes\org\apache\jsp
That is if you jsp is in the ROOT context.
Regards,
Raymond Pau
Platform: Linux, Tomcat 3.3.1
Hi people,
I am writing a JSP web services on an embedded system running Linux without
swap space.
Everytime I access a new JSP page, the amount of memory Tomcat uses
increase.
I think Tomcat is caching the new JSP page for faster access. Am I right?
Is there a