File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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!
Similar Threads
Xdoclet infinite loop
web.xml missing servlet information in web.xml file
web.xml missing servlet information
webdoclet task not working
Xdoclet doesnot capture tags in tld file