You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Peter Rutner <Pe...@Elsag-Solutions.com> on 2001/11/20 15:05:29 UTC
Losing session during forward from servlet to jsp?
Hi
I'm using tomcat 4.0.1 and I have a servlet that extends from
HttpServlet,
Which has got common functionality like checking for a valid session and
also
has common methods that perform functionality like forwarding HTTP
request to another
url and puts some application data in the session.
In that servlet I have some code that does some processing
and finally *forwards* the HTTP request to a JSP . In that JSP page I
always get a
new session, so that I can't access my application data which I put in
there before.
I ran the same application on ServletExec and it works fine.
Anybody from the Tomcat dev team any ideas......?
Any help from anyway is appricated.
thanks
Peter
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
AW: Losing session during forward from servlet to jsp?
Posted by Reto Badertscher <rb...@i-netsystems.com>.
Hi,
i know that doesn't help you, but i'm just doing the same on Tomcat 4.0.1
without any problem.
Reto
-----Ursprüngliche Nachricht-----
Von: Peter Rutner [mailto:Peter.Rutner@Elsag-Solutions.com]
Gesendet: Dienstag, 20. November 2001 15:05
An: Tomcat Users List
Betreff: Losing session during forward from servlet to jsp?
Hi
I'm using tomcat 4.0.1 and I have a servlet that extends from
HttpServlet,
Which has got common functionality like checking for a valid session and
also
has common methods that perform functionality like forwarding HTTP
request to another
url and puts some application data in the session.
In that servlet I have some code that does some processing
and finally *forwards* the HTTP request to a JSP . In that JSP page I
always get a
new session, so that I can't access my application data which I put in
there before.
I ran the same application on ServletExec and it works fine.
Anybody from the Tomcat dev team any ideas......?
Any help from anyway is appricated.
thanks
Peter
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>