struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris <>
Subject Re: about struts-examples apache/struts-examples -> bean-validation example
Date Thu, 03 Sep 2015 09:37:48 GMT

The bean-validation example works now, after adding jboss-logging-3.1.1.GA.jar

I didn't know I could use a jboss file jar with only Netbeans 7.3 and Apache Tomcat 7.0.34.So
the java jar file influence the validation and the message errors directly on html page. 

PS : with the exclude_parameters example, the errors messages are not in the same files
exclude_parameters :
personBean.firstName=First name

 <validator type="requiredstring">
     <param name="fieldname">personBean.firstName</param>
     <message>First name is required.</message>


bean-validation ( All is in )
personBean.firstName=First name
firstName.required=You must enter the first name===============================================



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message