You must have the servlet classes on your classpath too. XDoclet uses
reflection to figure out what classes and interfaces your class extends
from.

Aslak

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Herve
> Tchepannou
> Sent: 30. november 2002 20:40
> To: xdoclet
> Subject: [Xdoclet-user] Does servlet need to be direct subclass of
> HttpServlet to be generated in web.xml?
>
>
> I've created a class that extends webwork.dispatcher.DispatcherServlet
> with some xdoclet tags.
>
> When I generate web.xml file, there is no information about my servlet.
> If I change the superclass to javax.servlet.HttpServlet, now the
> informations of my servlet are now generated in web.xml
>
> This looks to me like a bug. Isn't it?
> PS: the webwork.jar is included in the build classpath
> --
>
> Herve Tchepannou
> mailto:[EMAIL PROTECTED]
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Get the new Palm Tungsten T
> handheld. Power & Color in a compact size!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to