This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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