Conversion error message

Prasanth <[email protected]> Mon, 3 Mar 2025 16:30:36 -0600
Newsgroups gmane.comp.jakarta.struts.user
Message-ID <[email protected]>
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(fieldName = "retirementDate",  message = "Invalid date format. Please use MM/dd/yyyy.", shortCircuit = true)
     public Date getRetirementDate() {
         return retirementDate;
     }

  * Invalid field value for field "retirementDate".
  * Invalid date format. Please use MM/dd/yyyy.


Thanks,
Prasanth