• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Navigation to another Url in a jsp

 
shivang sarawagi
Ranch Hand
Posts: 155
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 155
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The issue is resolved. Thanks
 
subhod lagade
Greenhorn
Posts: 6
Hibernate Oracle Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what have you tried ,please give solution for that???
 
shivang sarawagi
Ranch Hand
Posts: 155
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used a javascript function location.replace();



It worked :)
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic