aspose file tools*
The moose likes Struts and the fly likes Parameterized error messages using struts2 annotations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Parameterized error messages using struts2 annotations" Watch "Parameterized error messages using struts2 annotations" New topic
Author

Parameterized error messages using struts2 annotations

pavan babu
Greenhorn

Joined: Sep 02, 2008
Posts: 15
Hi

I am doing validations using annotaions.I want to pass a parameter to a error message so that it will show a generic error message,some thing like

"SomeName" is required

where SomeName is a custom parameter.I know the otherways like using the filederror but I couldn't figure out how to do the same using annotaions.Any help is apreciated.

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Parameterized error messages using struts2 annotations
 
Similar Threads
Cannot find bean "" in scope request
Parameterized error messages
problem in when to use this in java
Validations using ActionErros Validate
colored text in dropdown