tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Rausch" <rau...@bullex.de>
Subject encodeURL() -- Tomcat3.1 -- does not work --
Date Sat, 15 Jul 2000 02:17:42 GMT
Hi all,

I am new to this group.
I have got a serious problem with the "encodeURL" method.
My OS is NT4, JAVA 1.3 and Tomcat 3.1
"encodeURL" does not work at all. We are going to develop a internet
application with session tracking needs, but if I turn off my cookies, no ID
information is set by the method. Ethering works fine if I a accept cookies.

Is this a general problem ?

Any solutions ?

a small code ex.

<------------------------------------>
<%@ page language="java" import="java.util.Enumeration" session="true"%>
<a href="<%=response.encodeURL("/session.jsp")%>">test</a>
<%
out.println("Requested Session Id: " + request.getRequestedSessionId() +
<br>");
%>
<------------------------------------>


Thanks for help,

Michael


Mime
View raw message