This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts 1.1 validate() method forward" Watch "struts 1.1 validate() method forward" New topic

struts 1.1 validate() method forward

Rajni Patel
Ranch Hand

Joined: Sep 03, 2009
Posts: 84

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?

I agree. Here's the link:
subject: struts 1.1 validate() method forward
Similar Threads
why actionform gets reset?
action forward problem : when "Failure"
struts action form
validate and input attributes in config file not working
two same paths in different configuration files - Which one will load?