cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ludovic de Beaurepaire" <ludovic.debeaurepa...@axonie.com>
Subject Re: URL Encoding
Date Fri, 20 Dec 2002 13:34:52 GMT
Hi Volker ,

Thanks for it. I finally resolved the problem rewriting the URL myself :

String id = ";jsessionid=" + request.getSession(true).getId();
request.getSession().invalidate();
url += id;

Ludovic
----- Original Message -----
From: "Volker Schneider" <volker.schneider@danet.de>
To: <cocoon-users@xml.apache.org>
Sent: Friday, December 20, 2002 11:10 AM
Subject: RE: URL Encoding


> Hi Ludovic,
>
> you can have problems because the URL encoder probably does encode the
> leading semicolon and the equals symbol of the URL if you use URL
rewriting.
> Maybe you have to write a short method which avoids encoding these leading
> characters.
>
> Best regards
> - Volker -
>
> -----Original Message-----
> From: Ludovic de Beaurepaire [mailto:ludovic.debeaurepaire@axonie.com]
> Sent: Donnerstag, 19. Dezember 2002 10:39
> To: cocoon-users@xml.apache.org
> Subject: URL Encoding
>
>
> Hi All,
>
> In an Action i want to encode an URL on the HttpResponse to have the
session
> Id on this URL.
>
> url =
>
((org.apache.cocoon.environment.http.HttpResponse)(ObjectModelHelper.getResp
> onse(objectModel))).encodeURL(url);
>
> But my URL is not encoded.
>
> I don't find where to configure if encoding is needed or not. Help please
!
>
> I'm using tomcat-4.1.12 and cocoon 2.0.4.
>
> Ludovic
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message