aspose file tools*
The moose likes Struts and the fly likes URL is not changing in address bar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "URL is not changing in address bar" Watch "URL is not changing in address bar" New topic
Author

URL is not changing in address bar

NV Krishna
Greenhorn

Joined: Mar 23, 2005
Posts: 14
Hi,

In my struts application, after consecutive actions say Home,Action1 and Action2, I am going back action 'Home'. The page displaying properly but the url in the address bar is not changing to 'home'.

Regards,
Krishna
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Normally, a struts forward does not cause the URL to change. If you want the URL to change when the forward occurs, specify redirect="true" in the forward definition. Be aware, though, that when you do specify redirect="true", the JSP you forward to will not have access to any objects you've put in the request object.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: URL is not changing in address bar