I would think that this is possible.  I have been writing servlets for
over a year, but have not written a single line of JSP.....

On 9/21/05, David Wall <[EMAIL PROTECTED]> wrote:
> Mark wrote:
>
> >I want to create a webapp that will contain both servlets and JSP.  I
> >will be using a login page to authenticate users.  I will probably use
> >one of the Tomcat supported authentication modules.
> >
> >I am wondering if it is possible for tomcat to properly manage session
> >information when going between servlet and JSP pages.
> >
> >
> Of course.  After all, every JSP is compiled into a servlet.  Naturally,
> if the browser supports session cookies, all is very easy, but if they
> block such cookies, then you'll need to use URL rewriting for every
> reference to an URL within your web app so that the session id can be
> transmitted back.  Use response.encodeURL() and
> response.encodeRedirectURL() as necessary.
>
> David
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to