aspose file tools
The moose likes Struts and the fly likes setredirect Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "setredirect " Watch "setredirect " New topic
Author

setredirect

divya kundapur
Ranch Hand

Joined: Aug 21, 2007
Posts: 110
what does forward.setRedirect(true); do in struts ?


SCJP - 5.0
Ankit Garg
Saloon Keeper

Joined: Aug 03, 2008
Posts: 9191
    
    2

Divya in the future please provide a little more details. Here what is the type of forward is not clear, so it takes some time to figure out that its ActionForward. Anyways checkout the documentation of ActionForward. If you set redirect to true, then the browser will be redirected to the result, otherwise there will be a server side forward using RequestDispatcher...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: setredirect