Hi

I have a problem.
I have to send a oracle rowid as a param to a page. The rowid can have a
+ char as one of 32 characters.
As we all know, if we send a + char as a url parameter it ends up as a
space (hi+there = hi there)

As I send the parameter in a <a href> tag, I have to decode the + as %2B
(value for + char). I guess that the response.encodeRedirectURL should
do the trick, or?

Even if it do encode it as %2B, the webbrowser will take the %2B as a +
and the link will still be the same (diffrent sourcecode only). What I
have to do is to

1. Encode the + so the webbrowser takes it for %2B

2. Encode it with javascript, when the link is clicked

Antone else who had the same problem? Is there a easy solution?

//Jan

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to