Mark,
 
Check the class inheritance.  You might try inheriting directly from HttpServlet and see if that works, then take smaller steps toward the desired configuration.  Sorry I can't provide more information though.
 
-b
-----Original Message-----
From: Mark Markarian [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 5:14 PM
To: [EMAIL PROTECTED]
Subject: [Xdoclet-user] @web.servlet tag problem

I have the following xdoclet tag fragment in a servlet class:
 
/**
* AdminController Servlet
*
* @web.servlet
*    name="AdminController"
* @web.servlet-init-param
*    name="properties"
*    value="/WEB-INF/conf/velocity.properties"
*
* @web.servlet-mapping
*    url-pattern="/admin"
*
**/
 
In web.xml it produces the servlet-mapping tag perfectly but will not produce the servlet tag (or init-param tag).
 
I know you can put the servlet and init-param tags in servlets.xml in the merge directory, and this works, but I'm wondering why the tag in the servlet class file won't work.
 
Has any else had this problem?
 
Thanks,
 
Mark

Reply via email to