Wll Tomcat 4.0.x reference implementation returns: /index.jsp
Then, that means all AS are wrong and just one Jrun is right? with best wishes Alexander Kachanov -----Original Message----- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: 11 �y���|�� 2002 �s. 11:59 To: Tomcat Users List Subject: Re: getRequestURI() 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]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
