A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
Why use redirect="true"
Joined: Jul 03, 2007
Feb 16, 2009 03:14:40
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.
<action input="/serv/infoerror.jsp" name="LoginForm" path="/Login" type="com.tahir.security.LoginAction"> <forward name="chsuccess" path="/cardholderhome.do" redirect="true" /> </action>
Thanks in advance.
Joined: Jan 28, 2008
Feb 16, 2009 03:26:51
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
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Why use redirect="true"
action forward problem : when "Failure"
Security Constraint problem
Refresh Problem : same action gets called
redirect=true in config does not work
Struts Cancel Button submits the form
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013