You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Justin Rowles <JR...@ordsvy.gov.uk> on 2002/01/14 15:26:39 UTC
What is the current state of response.encodeURL?
I have a Tomcat 3.2.3 install which is working perfectly happily. I have to
support users without cookies. Previously I have been able to store enough
information in the client to recreate their (simple) objects, but in our new
development the information is much larger and so I must get access to their
old sessions.
response.encodeURL would seem to be the obvious (only?) choice, but it
appears to behave oddly.
When I turn off cookies and access my test.jsp:
<...header stuff...>
<%
out.write("This session is <a href=\"" + response.encodeURL("test.jsp") +
"\">here</a>");
%>
<...footer stuff...>
I get a URL with a semi-colon separating the JSessionID declaration from the
rest of the URL. OK, so far so odd. However, when I click on the link, I
get a different session id written out next time - implying that this is a
different session.
Am I missing something, or does this routine not work as I expected.
As always, speedy answers are very much appreciated, but I shall refrain
from using caps and exclamation marks in the subject line ;-)
J.
--
Justin Rowles
E-Delivery Team
C478
"We live to serve"
***************************************************************
For more information on Ordnance Survey products and services,
visit our web site at http://www.ordnancesurvey.co.uk
***************************************************************
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Tomcat Apache JSP compilation error
Posted by Stuart Stephen <sw...@swadge.co.uk>.
Hi all,
For some reason i'm getting a class not found exception for a Vector? I
can't think why the Vector class isn't found? Where should these classes be
found or what am I doing wrong? The details are at the base of the email.
Thanks
Stuart Stephen
An error occurred at line: 51 in the jsp file:
/basket_edit_details_content.jsp
Generated servlet error:
T:\Tomcat\work\www.myonlineshop.com\shop\basket_0005fedit_0005fdetails_0005f
content$jsp.java:128: Class org.apache.jsp.Vector not found.
Vector points=(Vector)items.get(item_number);
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>