Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of
Clojure in Action
this week in the
Problem with printing messages using struts validation
posted 10 years ago
We are using
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
, but i am running short of time here.
Any help will be greatly appreciated ...
I agree. Here's the link:
Validator plugin messages with <html:messages> tag
Custom Tags Vs Performance
use bean:message tag inside my jstl c tag
write request.setAttribute("key", "value")