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

Problem with printing messages using struts validation

 
Vicky Mohan
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey All,

We are using struts 1.1 and we are trying to use struts validator framework to display errors / messages. We can display the messages using html:messages without any issues.

For one particular condition, we want to write a custom tag to display the messages. We are trying to use the key as the input to the custom tag and trying to print the message using the custom tag.

Anyone have any sample code to do this ? i guess we should use ActionMessages / ActionMessage to implement this using JAVA, but i am running short of time here.

Any help will be greatly appreciated ...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic