Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts 1.1 validate() method forward

 
Rajni Patel
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,


I am working in struts 1.1. I have validate() method in form. I have some conditions in validate() method. If there is error then in one condition, I want to forward x.jsp and in another condition , want to forward y.jsp. There is only 1 form and 1 action for both jsp. How can i forward on different jsp up on condition?

thanks,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic