Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Struts and the fly likes struts 1.1 validate() method forward 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 "struts 1.1 validate() method forward" Watch "struts 1.1 validate() method forward" New topic
Author

struts 1.1 validate() method forward

Rajni Patel
Ranch Hand

Joined: Sep 03, 2009
Posts: 84
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,
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: struts 1.1 validate() method forward