There is no Struts 2.7 - there is a Struts 1.2.7, but if thats the version you're using, I don't understand why you say you exchanged its validator with 1.1.4 - - the validator with Struts 1.2.7 is validator 1.1.4 already.
The other thing, do you have your Application.properties in the right place? If you use the "default" message resources (i.e. don't specify a "key"), can you display the messages.... <message-resources parameter="com.xinfo.struts.example.strutsDemo.Application"/> ... then in your validation.xml <field property="qnummer" depends="mask"> <arg position="0" key="validationExample.form.qnummer"/> <arg position="1" name="mask" key="${var:mask}" resource="false"/> <var> <var-name>mask</var-name> <var-value>^[QXqx0-9]*$</var-value> </var> </field> Niall ----- Original Message ----- From: "starki78" <[EMAIL PROTECTED]> Sent: Monday, November 28, 2005 7:04 AM Hi! Hope you can take a look at the file: Here is the structure of my web-application that works only then I use the default properties file, that is not accessed with a bundle parameter from the validation.xml file. The result is just that the error messages that should be displayed are not displayed. in my struts (2.7) libraries I exchanged the commons-validator with commons-validator-1.1.4.jar. <message-resources key="test" parameter="com.xinfo.struts.example.strutsDemo.Application"/> Properties file with entries= Application.properties (I controlled the path) part of the validation.xml <field property="qnummer" depends="mask"> <arg position="0" bundle="test" key="validationExample.form.qnummer"/> <arg position="1" name="mask" key="${var:mask}" resource="false"/> <var> <var-name>mask</var-name> <var-value>^[QXqx0-9]*$</var-value> </var> </field> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]