File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
It's not a secret anymore!