I've been unable to get anything out of my servlets into web.xml using the
deploymentdescriptor subtask and my @web.servlet tags.  The pathelement
pointing to j2ee.jar (where the javax.servlet packages are located) is
correct, and the servlet file is definitely being parsed (it wants to blow
up without a blank line before EOF???) - so what have I missed?

TIA,

Bill
--------------------------------------------------

/**
  * @web.servlet
  *   name="test"
  *   load-on-startup="true"
  * @web.servlet-mapping
  *   url-pattern="/hello"
  */

--------------------------------------------------

    <taskdef name="webdoclet" 
             classname="xdoclet.modules.web.WebDocletTask">
      <classpath>
        <pathelement location="c:/progra~1/java/j2sdkee1.3.1/lib/j2ee.jar"
/>
        <fileset dir="c:/progra~1/xdoclet/lib">
          <include name="*.jar"/>
        </fileset>
      </classpath>
    </taskdef>
    
    <webdoclet verbose="true"
               force="true"
               destDir=
"c:/docume~1/012909.AMER/myproj~1/randa/config/sandbox/WEB-INF">
               
      <fileset
dir="c:/docume~1/012909.AMER/myproj~1/com/avnet/sbs/randa/servlet">
        <include name="**/*.java" />
      </fileset>      
      
      <deploymentdescriptor
 
mergeDir="c:/docume~1/012909.AMER/myproj~1/randa/config/sandbox/merge-files"
        displayname = "foo" >
      
        <contextparam name="test"
                      value="test" />
        
        <welcomefile file="index.jsp" />
        <welcomefile file="home.jsp" />
     
      </deploymentdescriptor>
      
    </webdoclet>  


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to