Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

validaton in struts 1.3

 
Jomy George
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic