This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Struts and the fly likes not generating validation.xml file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply 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




 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: not generating validation.xml file
 
Similar Threads
validator.xml doubt
Resource for xml validation
How to use Validators
what will happen if we import a package twice
Exception while loading the validation.xml in strusts