This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts, forward and url Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts, forward and url" Watch "Struts, forward and url" New topic
Author

Struts, forward and url

david allen
Ranch Hand

Joined: Sep 27, 2002
Posts: 185
Hi all,

I am new to struts and I have really enjoyed using this framework but I find the way URLs are left out of sync when you use the forward option of redirecting a user a bit frustrating especially when using forms.

Is there anyway to use the forward option of redirecting the user and to keep the url updated as does the action method of redirecting a user?

I have been reading the O�Reilly Jakarta Struts book and it talks about overriding the RequestProcessor class. Maybe something like this could be done to keep the URL�s up to date.

Thank you
david
 
 
subject: Struts, forward and url
 
Similar Threads
why we need send redirect?
Difference between encodeURL and encodeRedirectURL
request dispacher URL update
difference between type and forward???
How to open a jsp page from Action without defining it in Config file?(url dynamical)