Tommy Berglund wrote:
>
> page1.jsp
> <html>
> <head>
> <jsp:useBean id="test" class="test.testBean" scope="session" />
> </head>
> <body>
> <%
> test.setStreng("write it");
> String encurl = response.encodeURL("http://xxx.xxx.xxx/test/page2.jsp");
>
> out.println("<A HREF="+encurl+">Link</A>");
If something like "http://xxx.xxx.xxx/test/page2.jsp?sessionid=0989809898" is
displayed in the client browser location combo-box on page2.jsp then your web
server supports URL rewriting and it should work. I have done the same thing,
to the httpSession object that is, and it works fine. With JRun 2.3.1 build
145.
Print out the encodeURL() result string on page1 and check that it contains
the sessionid.
/Magnus
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".