Two Laptop Bag*
The moose likes Struts and the fly likes Difference between redirect and redirectAction result type Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Difference between redirect and redirectAction result type" Watch "Difference between redirect and redirectAction result type" New topic
Author

Difference between redirect and redirectAction result type

MaheshS Kumbhar
Ranch Hand

Joined: Sep 24, 2009
Posts: 188
What is the difference between redirect and redirectAction result types?


I am slow but sure
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9293
    
  17

Did you check the docs of redirect result and redirectAction result?? Redirect result can be used to redirect to any URL, redirectAction allows you to specify an action name to redirect too. You can do the same thing that redirectAction result does with redirect result but you'll have to enter the proper path to the action yourself...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
 
subject: Difference between redirect and redirectAction result type