File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes JSP Forward Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP Forward" Watch "JSP Forward" New topic
Author

JSP Forward

Yegappan Balasubramanian
Greenhorn

Joined: Nov 19, 2001
Posts: 13
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

Joined: Jun 30, 2001
Posts: 129
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

Joined: Nov 01, 2000
Posts: 70
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

Joined: Nov 19, 2001
Posts: 13
I used a script block and it works well.
Thanks Ben.
 
 
subject: JSP Forward