This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

not generating validation.xml file

 
vijayy reddy
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic