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 Murach's Java Servlets and JSP this week in the Servlets 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="${project.build}/WEB-INF"
<fileset dir="${project.java.src}"> <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;

wood burning stoves
subject: XDocLet generated validation-xml is empty!
Similar Threads
webdoclet task not working
Xdoclet infinite loop
Xdoclet doesnot capture tags in tld file
web.xml missing servlet information
web.xml missing servlet information in web.xml file