They are, see below.


Should I not be using com.opensymphony.xwork2.validator.annotations.ConversionErrorFieldValidator to set the message. This is not the class in com.opensymphony.xwork2.validator.validators with the same name.

Thanks,
Prasanth

On 3/5/25 12:37 AM, Lukasz Lenart wrote:
wt., 4 mar 2025 o 20:35 Prasanth<dbad...@pangburngroup.com>  napisał(a):
I have the below line in the xxxxAction.properties file and it in the 
WEB-INF/classes folder in the sample package as the actual action class. But I 
am getting the standard error message rather than
the custom one.
The file must be in the same "package"/folder as the Java class, see
this example
https://github.com/apache/struts-examples/blob/main/type-conversion/src/main/java/org/apache/struts/example/NumberAction.java
https://github.com/apache/struts-examples/blob/main/type-conversion/src/main/resources/org/apache/struts/example/NumberAction.properties

and the name must match the action name


Regards
Łukasz

---------------------------------------------------------------------
To unsubscribe, e-mail:user-unsubscr...@struts.apache.org
For additional commands, e-mail:user-h...@struts.apache.org


Reply via email to