File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Meteor in Action
this week in the
Problem with printing messages using struts validation
Joined: Oct 14, 2004
Sep 12, 2005 15:33:00
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:
subject: Problem with printing messages using struts validation
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")
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015