so how does your encoded URL look like and where do you like to use it?
Is your problem that you do not have the sessionId encoded or that single 
characters are 'wrong'?

just to catch the obvious misunderstanding.
there is a difference between HTML escaping and URL encoding
example:
in an URL
.) a ' ' (space) will be converted to %20
.) & will not be converted 

in HTML escaping
.) ' ' (space) will not be converted
.) & -> &


LieGrü,
strub

--- Dave <[EMAIL PROTECTED]> schrieb:
>   For redirecting to a URL
>    
>   URI: http://www.domain1.com/foo.jsf
>   QueryString:  url=http://domain2.com/?q=bar
>    
>   http://www.domain1.com/foo.jsf?url=http://domain2.com/?q=bar
>    
>   where url is param name, http://domain2.com/?q=bar is param value.
>    
>   How to encode the URL?  I tried ExternalContext:
>    
>   String encodedURL = externalContext.encodeResourceURL(aURL)
>    
>   but the URL is not changed
>    
>   Thanks for help
>   Dave



      Machen Sie Yahoo! zu Ihrer Startseite. Los geht's: 
http://de.yahoo.com/set

Reply via email to