File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts Validator  Messages Property Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts Validator  Messages Property" Watch "Struts Validator  Messages Property" New topic

Struts Validator Messages Property

Yokuo Kashiro

Joined: Jul 21, 2009
Posts: 2

I have a JSP with three types of messages: warn, errors and messages of validator framework of struts 1.3.8.

All have custom css and, as far I searched, the only way to show Validator messages is:

Even using ActionMessages.GLOBAL_MESSAGE as property attribute of html:errors tag, show anything:

So, when I have others messages, it shows twice: in proper place and the one for validator messages.

Is there a way to set a property for validator messages as for the others ones like below:

Thanks in advance
I agree. Here's the link:
subject: Struts Validator Messages Property
It's not a secret anymore!