File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Forward

 
Yegappan Balasubramanian
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i am having a form and in the action page i am redirecting to the same form using JSP FORWARD tag.It gets forward,but the URL has not been changed to form page and is remaining in the same action page.Is there any method to be used for the forward tag?.
Looking for the response.
Thanks
Yegappan

 
sanj singh
Ranch Hand
Posts: 129
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Yegappan
The forward works on the server side and not the client.Thats why you can't see the changes.I am not very sure but I don't think there is a solution to this.
regards
sanj
 
Ben Roy
Ranch Hand
Posts: 70
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just a thought but if you want to actually change the users URL in a redirect, just do a jsp redirect to an html page with a script block that has a single line of javascript redirecting them. We use this kind of thing all the time if we need to close a popup window and redirect in the main window.
 
Yegappan Balasubramanian
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used a script block and it works well.
Thanks Ben.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic