A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Why use redirect="true"
Security Constraint problem
Refresh Problem : same action gets called
Struts Cancel Button submits the form
redirect=true in config does not work
action forward problem : when "Failure"
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015