wood burning stoves 2.0*
The moose likes JSP and the fly likes Navigation to another Url in a jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Navigation to another Url in a jsp" Watch "Navigation to another Url in a jsp" New topic
Author

Navigation to another Url in a jsp

shivang sarawagi
Ranch Hand

Joined: Jun 19, 2008
Posts: 147
I have this url "http://localhost:8080/TestApp/Redirect.jsp?state=sdfgfdgvadffgjgj&code=AQCUmQk7MoE1Gh4ffwmaxpJWV1lphLXZaSJ448QDXZQV3CqDw5YfKW4JCQHPmfozw9pi6DdbVPaO6hupVnG2E9rramPyGwqBgLmRld12izlXf188-KHZZgT9xNrVZ0c4MzWwQygE-Qw_Z658m110y1l_5Hl6lUYZM-9vPnOSZ7OkEbVJAPG46AQEnpHNEGanVCY#_=_"

by using a javascript function in a jsp page I extracted the value of the code



Now I want to send request i;e navigate to another url. The url will be "anotherurl + code". Can anyone tell me how do I do that ?? Thanks
shivang sarawagi
Ranch Hand

Joined: Jun 19, 2008
Posts: 147
The issue is resolved. Thanks
subhod lagade
Greenhorn

Joined: Feb 17, 2009
Posts: 6

what have you tried ,please give solution for that???


Java Professional
shivang sarawagi
Ranch Hand

Joined: Jun 19, 2008
Posts: 147
I used a javascript function location.replace();



It worked :)
 
 
subject: Navigation to another Url in a jsp
 
Similar Threads
Embedding Javascript in a facelet Page
how to clear internet explorer history of client machine
Combo box problem
pagination problem
Please help - More specific question on JSF + jQuery