wood burning stoves 2.0*
The moose likes Struts and the fly likes Problem with printing messages using struts validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem with printing messages using struts validation" Watch "Problem with printing messages using struts validation" New topic
Author

Problem with printing messages using struts validation

Vicky Mohan
Ranch Hand

Joined: Oct 14, 2004
Posts: 130
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 ...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Problem with printing messages using struts validation