It's not a secret anymore!
The moose likes Struts and the fly likes not generating validation.xml file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "not generating validation.xml file" Watch "not generating validation.xml file" New topic

not generating validation.xml file

vijayy reddy

Joined: May 01, 2011
Posts: 1

After creating the Struts projecte, i added MYECLIPES6.0- CAPABILITES.immediatly all files generated under WEBINF including validation-rules.xml file,but validation.xml file not generated.

please help me,how can generate automatically validation.xml file

Thanks & regards
StrutsAmit Jain

Joined: May 01, 2011
Posts: 29
Hi Vijay,

sometimes there is a problem, validation.xml file is not generated but even if it is generated it would only have below lines of code.
<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN"



so I would suggest just create one validation.xml file manually and then append this code.


subject: not generating validation.xml file
It's not a secret anymore!