aspose file tools*
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
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: 148
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: 148
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: 148
I used a javascript function location.replace();



It worked :)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Navigation to another Url in a jsp