Alright now I have another problem which is baffling me:

I have:
<%@ page session="true" %>
'<%=response.encodeURL("test/") %>' 
in a jsp page.
the result is always 'test/'
so i tried forcing:
'<%="test;jsessionid="+request.getSession().getId() %>'
And the result looks like i expect it too

But when I make another request tomcat the session I've appended.

I have a session filter which:
In my context.xml file i have:

<?xml version="1.0" encoding="UTF-8" ?>
<Context cookies="false"></Context>

While the session is not stored in a cookie it appears that tomcat is not
finding the session i specify. which I think has something to do with the
fact that encodeURL does not work.

-- 
View this message in context: 
http://www.nabble.com/Force-URL-encoding-tf4415223.html#a12599331
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to