• 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