aspose file tools*
The moose likes Struts and the fly likes XDocLet generated validation-xml is empty! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "XDocLet generated validation-xml is empty!" Watch "XDocLet generated validation-xml is empty!" New topic

XDocLet generated validation-xml is empty!

Jon Baxter

Joined: Dec 03, 2004
Posts: 9
I have my build file generating the struts-config.xml file just fine (it even does the merging). However the XDoclet creates an empty validation.xml


<webdoclet destdir="${}/WEB-INF"
<fileset dir="${}"> <include name="**/*.java"/> </fileset>

<strutsconfigxml validatexml="true"

<strutsvalidationxml />

Java code..

* @struts.form name="testForm"
public class TestForm extends ValidatorForm {

private String lastName = "Bond";

public String getLastName() {
return (this.lastName);
* @struts.validator type= "required" msgkey="error.required" arg0value="Last name"
public void setLastName(String lastName) {
this.lastName = lastName;

I agree. Here's the link:
subject: XDocLet generated validation-xml is empty!