Thank you very much, now it works. Only one question more, after looking xdoclet docs I've realitzed that there are no error pages tags. Anybody knows how to declare them.
Thank you ----- Original Message ----- From: "Rupp,Heiko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 31, 2003 5:24 PM Subject: RE: [Xdoclet-user] Help with webdoclet on xdoclet 1.2b2 > Hi, > > From: Jordi Valldaura [mailto:[EMAIL PROTECTED]] > > I want to generate a web.xml file, I've looked throught the > > samples and > > there is no one about it. When I execute the webdoclet task I get: > > This should be enough in the source file (FooServlet.java): > * @web.servlet name="EnterServlet" > * @web.servlet-mapping url-pattern="/servlet/*" > > Additionally you need to set up a webdoclet task with a > deploymentdescriptor subtask. > > This is an excerpt of a build.xml: > <target name="webdoclet" depends="init"> > <webdoclet destdir="${output.java.gen-src.dir}" > verbose="false"> > <fileset dir="."> > <include name="**/*Servlet.java"/> > <include name="**/*Filter.java"/> > <include name="**/*Tag.java"/> > <include name="**/*Action.java"/> > </fileset> > <deploymentdescriptor servletspec="2.3" > destdir="${output.webinf.dir}"> > <welcomefile file="index.html"/> > </deploymentdescriptor> > </target> > > Hope that helps > > Heiko > -- > Bancotec GmbH EMail: [EMAIL PROTECTED] > Calwer Str. 33 Telefon: +49 711 222 992 900 > D-70173 Stuttgart Telefax: +49 711 222 992 999 > Ein Unternehmen der Cellent AG http://www.cellent.de/ > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
