aspose file tools
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

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "setredirect " Watch "setredirect " New topic


divya kundapur
Ranch Hand

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

SCJP - 5.0
Ankit Garg

Joined: Aug 03, 2008
Posts: 9327

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
Have you tried LearnNowOnline?
subject: setredirect