This week's giveaways are in the MongoDB and Jobs Discussion forums.
We're giving away four copies of Mongo DB Applied Patterns and 4 resume reviews from Five Year Itch and have the authors/reps on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes struts 1 validation Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "struts 1 validation" Watch "struts 1 validation" New topic
Author

struts 1 validation

satya devarapalli
Greenhorn

Joined: Jan 28, 2009
Posts: 7
Hello,

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.

Thanks!
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: http://aspose.com/file-tools
 
subject: struts 1 validation
 
Similar Threads
Validation Problem
XML Validation in struts
How to dynamically set the value of "input" in Dispatch Action for Struts Validation
Validation in Struts 1.3.x
user session validation