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