tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Chaffee <g...@edamame.stinky.com>
Subject Re: JSP servlet for browser without cookie support
Date Thu, 15 Jun 2000 02:18:18 GMT
First, this sort of question belongs on tomcat-user, not tomcat-dev.

Second, the way it's supposed to work is you have to explicitly call
encodeURL on the URL strings.  Like so:

 <a href="<%=response.encodeURL("/jobs/typist.html")%>">Typist</a>

The alternative would be to scan the whole page looking for URLs which
is nasty and unreliable and slow.

 - A

On Thu, Jun 15, 2000 at 06:13:20PM +0900, Yuri Kazakov wrote:
> Hello,
> 
> If anybody know, please answer me!
> I have Apache+Tomcat3.1+Jasper on Solaris and Linux.
> I would like to access JSP from browser without cookie support.
> Currently I loose session becouse JSP servlet doesn't automatically encode
> URLs contained in JSP page to include ";jsessionid=..."
> (it has to, isn't it?).
> 
> What can I do? Configure and recompile Jasper or choose another JSP servlet?
> 
> Sincerely,
> Yuri.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org

-- 
Alex Chaffee                       mailto:alex@jguru.com
jGuru - Java News and FAQs         http://www.jguru.com/alex/
Creator of Gamelan                 http://www.gamelan.com/
Founder of Purple Technology       http://www.purpletech.com/
Curator of Stinky Art Collective   http://www.stinky.com/

Mime
View raw message