aspose file tools*
The moose likes Struts and the fly likes Why use redirect= Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Why use redirect="true" " Watch "Why use redirect="true" " New topic
Author

Why use redirect="true"

Tahir Akram
Ranch Hand

Joined: Jul 03, 2007
Posts: 37
Hi;

Why should we use redirect="true", if I remove this tag my action forwarding works fine.
So why we specifically need this? Can some one educate me on this.



Thanks in advance.


Tahir Akram
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Tahir Akram wrote:Why should we use redirect="true"


it is nothing but response.sendRedirect("url") [making new request to the browser]. you better watch the address bar(url) of the browser for both cases.

Hope this helps
 
wood burning stoves
 
subject: Why use redirect="true"