File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

not generating validation.xml file

vijayy reddy
Greenhorn

Joined: May 01, 2011
Posts: 1
hiiiiiiiiii

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
Vijay
StrutsAmit Jain
Greenhorn

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"
"http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">

<form-validation>

</form-validation>

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

Thanks
Amit




 
wood burning stoves
 
subject: not generating validation.xml file