From: sheikh_a1 <nu...@jb...> - 2004-03-11 17:06:16
|
hi, I had downloaded the IDE and ran the tutorial and it worked perfect. Now i'm trying to use my actual application. My webdoclet creates the corresponding web.xml and jboss-web.xml but fails to make any entries into the xml. here is the entry in the xdoclet-build.xml - | <target name="N103B6" description="WEB"> | <taskdef classpathref="xdoclet.classpath" classname="xdoclet.modules.web.WebDocletTask" name="webdoclet" /> | - <webdoclet destDir="src/WEB-INF"> | <fileset dir="src/xx/xxx/xx/xx/xx/controller" includes="**/Baseservlet.java" excludes="**/LoginServlet.java,**/MsgServlet.java" /> | <deploymentdescriptor Servletspec="2.3" /> | <jbosswebxml Version="3.0" /> | </webdoclet> | </target> | the XXX's in the fileset tag is the complete package structure. I did this because there are other servlets under src for which i do not want entries in the deployment descriptors. I just added a couple of those under excludes. Also i did not put *Servlet.java, because what i wrote is the actual class name. my servlet has this java doc entry | * @web.servlet name = "Baseservlet" | * display-name = "Baseservlet" | I did not enter the servlet mapping. Please let me know what i am doing wrong. Thanks, shekar <a href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825251#3825251">View the original post</a> <a href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825251>Reply to the post</a> |