I'd say the first one, but I'm not authoritative.  To the best of my 
recollection, however, that is precisely what encodeURL is there for. 
 Hopefully someone else will have something additional to add.  I 
_really_ think it should be the first (including the sessionid - and 
other cookies/params too?).

Regards,

Eddie

Alex Kachanov wrote:

>Hello!
>
>
>This is a page:
>
><%@ page contentType="text/html;charset=Shift_JIS"%>
><%@page session="true"%>
>
><a href="<%= response.encodeURL("index.jsp")%>">Check this</a>
>
><p><%= request.getRequestURI() %></p>
>
><p><%= session.getId() %></p>
>
>
>So, guys, what do you think "request.getRequestURI()" method should return
>when cookies are switched of in browser and you clikc on "Check this" link?
>
>
>JRun 3.1 and Jrun 4.0 are sure it should return
>/index.jsp;jsessionid=384975938475
>
>
>While all other Application servers return just:
>/index.jsp
>
>
>
>Who is right?
>
>
>with best wishes
>Alexander Kachanov
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to