wood burning stoves 2.0*
The moose likes Struts and the fly likes setredirect Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
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
Sheriff

Joined: Aug 03, 2008
Posts: 9293
    
  17

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://aspose.com/file-tools
 
subject: setredirect