This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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