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 Android Security Essentials Live Lessons this week in the Android 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.
subject: struts 1 validation
Similar Threads
How to dynamically set the value of "input" in Dispatch Action for Struts Validation
Validation Problem
Validation in Struts 1.3.x
XML Validation in struts
user session validation