aspose file tools*
The moose likes Struts and the fly likes Validation frame work with Validate() method problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Validation frame work with Validate() method problem" Watch "Validation frame work with Validate() method problem" New topic
Author

Validation frame work with Validate() method problem

sreedhar Lackka
Ranch Hand

Joined: Jul 05, 2008
Posts: 154
Hi,
Thanks a lot in advance.
We are facing some problem with validations.
Actually we have some fields validations which can be done through validation frame work and also some of the fields validation should write in validate() method.
When we write like above it is giving only those validation message which are there for validation frame work. But the messages which have written and added in ActionMessages are not coming.

Please help me.

Regards,
Sree
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
First, check to make sure that your validate method has the correct signature:



Secondly, make sure that you call super.validate(..) from the code in your validate method.


Merrill
Consultant, Sima Solutions
 
Don't get me started about those stupid light bulbs.
 
subject: Validation frame work with Validate() method problem