File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts 1 validation" Watch "struts 1 validation" New topic
Author

struts 1 validation

satya devarapalli
Greenhorn

Joined: Jan 28, 2009
Posts: 9
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
Validation in Struts 1.3.x
XML Validation in struts
How to dynamically set the value of "input" in Dispatch Action for Struts Validation
user session validation