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