cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulrich Mayring <u...@denic.de>
Subject Re: two question
Date Mon, 29 Jan 2001 14:02:20 GMT
Robin Green wrote:
> 
> "Izzo, Graziano" <GIzzo@na.atos.it> wrote:
> >       2. When i do a sendredirect in an xsp page, sometimes,
> >       in a new page, a lose the root session.
> >        suggestion?
> 
> You need to use response.sendRedirect (response.encodeRedirectUrl
> (yourUrl));
> 
> this will store the session id in the url if necessary.

Actually I've found that URLEncoder.encode(URL) works better, because it
will also escape special characters like in:

index.xml?name=Ulrich Mayring  ==>  index.xml?name=Ulrich+Mayring

Ulrich

-- 
Ulrich Mayring
DENIC eG, Systementwicklung

Mime
View raw message