Re: Conversion error message

2025-03-04 Thread Lukasz Lenart
wt., 4 mar 2025 o 20:35 Prasanth napisał(a): > I have the below line in the Action.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 sam

Re: Conversion error message

2025-03-04 Thread Prasanth
I have the below line in the Action.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. invalid.fieldvalue.retirementDate=Invalid date format. Please use MM/dd/. Th

Re: Conversion error message

2025-03-04 Thread Prasanth Pasala
I will try the xxxAction.properties file.  So @ConversionErrorFieldValidator is not an annotation to replace the xxxAction-validation.xml where we can specify the different validations we need and the corresponding messages? Thanks, Prasanth On 3/4/25 9:44 AM, Lukasz Lenart wrote: pon., 3 mar

Re: Conversion error message

2025-03-04 Thread Lukasz Lenart
pon., 3 mar 2025 o 23:32 Prasanth napisał(a): > > Hi, > > I have a custom message for conversion error as below. But the webpage is > showing this and the default struts message. How do I suppress the struts > default message? I am using Struts 6.7.0 > > @ConversionErrorFieldValidator(field