*
The moose likes Struts and the fly likes validaton in struts 1.3 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 "validaton in struts 1.3" Watch "validaton in struts 1.3" New topic
Author

validaton in struts 1.3

Jomy George
Ranch Hand

Joined: Jan 13, 2011
Posts: 65
hi friends,

i am new to struts framework.
i need to use struts in validating forms, but i have to make fully dynamic error messages from validating method itself.
i am planning to write my own validation class for some fields, but i dont know how to assign error message on validation failiure..!
in tutorials it says we can assign error messages form property file as follows

msg="errors.double"/>

is it possible to assign error message from validating method itsef?


thanks in advance...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: validaton in struts 1.3
 
Similar Threads
Getting teh same JSP
Database Message Resources
Database Message Resources
validate()
Struts - validate()