> -----Original Message-----
> From: Yan Pujante [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 03, 1999 19:22
> To: [EMAIL PROTECTED]
> Subject: Re: URL rewriting
> some examples:
> HREF="http://www.socialnet.com" => no encoding because starts
> with http:
> HREF="mailto:<%= myBean.getAddress() %>" => no encoding because starts
> with mailto:
> HREF="<%= myBean.getUrl() %> => no encoding because no way to
> know... =>
> getUrl must encode it if it needs to.
> HREF="/jsp/next.jsp" => encoding (we stay in the same session)
> HREF="/jsp/<%= myBean.getNextPage() %>" => encoding (we stay
> in the same
> session)
>
> This is exactly what I have done in my implementation of
> 0.92... and it
> works great...
this is how JWS 1.1.x works. relative urls are recognized and wrapped in
encodeURL() calls by the page compiler. one draw back although: it only
works in jhtml but not in jsp files. it is anyone guess what javasoft made
to break their code ...
IMHO any servlet engine not capable of maintaining session by url rewriting
is broken because it relies on cookies being enabled and accepted ...
cheers
christian
--
Christian Mallwitz INTERSHOP Communications Germany
Senior Software Engineer phone: +49 3641 894 334
pgp: 02 30 7E 1A 7A C1 5C 16 2B 4D 53 A9 1B 05 F7 DD
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".