• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

setredirect

 
divya kundapur
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what does forward.setRedirect(true); do in struts ?
 
Ankit Garg
Sheriff
Posts: 9521
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic