struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From log2akshat <>
Subject Re: How to do validation for Single Quote (') through validation.xml file?
Date Thu, 21 Jul 2011 17:07:21 GMT
I got the Solution:

<field name="Knowing">
       <field-validator type="regex">
        <message key="validate_appos"/>

But how can I escape the ' to display by .properties file in error message.
I used (\') but its not working.

Please anybody can help me on how to validate the number of words typed on
click of submit button by validation.xml file.

View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message