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 validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts 1 validation" Watch "struts 1 validation" New topic

struts 1 validation

satya devarapalli

Joined: Jan 28, 2009
Posts: 9

I have an action in struts1 which has validate=true and uses struts validation framework which works fine. Now I have another action, which when invoked, I would like to call the struts validation only when the user is in validation mode ( meaning only when the user invoked the first action before).

I tried to manually call the validation in the second action implemented and assigned to GLOBAL Keys in the request. But the jsp didnot render the error messages.

Sandy Chatterjee
Ranch Hand

Joined: Jun 27, 2012
Posts: 55

Can you show the exact code.

Take up one idea. Make that one idea your life; dream of it; think of it; live on that idea. Let the brain, the body, muscles, nerves, every part of your body be full of that idea, and just leave every other idea alone. This is the way to success.
I agree. Here's the link:
subject: struts 1 validation
It's not a secret anymore!