Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Using encoded URL in Javascript

843835Nov 16 2001 — edited Nov 23 2001
Hi .. tricky thing...
I have a URL string like
register.jsp?cust=100
and now i want to send it to another jsp and this jsp reads out the url from request.
action.jsp?URL=<%= encode("register.jsp?cust=100") %>
and now i want to send this string away with javascript (beause of forms) ...
parent.main.location = "action.jsp?URL=<encodedURL>
but action cannot read out the URL parameter from request, because javscript "re-encoded" it again.

Does sb have an idea !?
Thanx a lot .... Markus






Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 21 2001
Added on Nov 16 2001
2 comments
322 views