You can extend any servlet subclass. Just make sure all the binary classes
in the hierarchy are on the taskdef's classpath, and all the source classes
under the dir in your fileset.

If it doesn't work for you with ServletDispatcher, it's because you have
configured your classpath incorrectly. Put webwork.jar and servlet.jar and
any classes they need on taskdef's cp. ServletDispatcher uses log4j, so
log4j must be on classpath too.

Aslak

 -----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Herve
Tchepannou
Sent: 3. desember 2002 15:13
To: xdoclet
Subject: [Xdoclet-user] Does my servlets need to be direct descendent of
javax.servlet.ht tp.HttpServlet?


I have a servlet that extends webwork.dispatcher.ServletDispatcher.
But xdoclet doesn't want to generate the deployment descriptor unless I
change the superclass to
javax.servlet.http.HttpServlet.
Does my servlets need to be direct descendent of
javax.servlet.http.HttpServlet?
PS: servlet and webwork jars are in my build classpath
Herve Tchepannou
Software Engineer
Objexis Coorporation
Phone: (514) 932 3295 Ext. 231
mailto:[EMAIL PROTECTED]
Objexis Coorporation
http://www.objexis.com
1635 Sherbrooke West, Suite #405
Montreal, Qc H3H 1E2
Tel: 514.932.3295
Fax: 514.932.4639
http://www.objexis.com
Important - This message may contain privileged and confidential
information.  It is intended only for the use of the individual(s) named
above. If the reader of this message is not the intended recipient you are
hereby notified that any use, dissemination, distribution or reproduction of
this message is prohibited. If you have received this message in error
please notify Objexis Corporation immediately and promptly delete this
message and any copies thereof. Any views expressed in this message are
those of the individual sender and may not necessarily reflect the views of
Objexis Corporation.



-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET 
comprehensive development tool, built to increase your 
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to