class ServletA with url-pattern="/servletA/*" and a class ServletB which extends ServletA and has the url-pattern="/servletB/*"
results in web.xml:

   <servlet-mapping>
      <servlet-name>ServletA</servlet-name>
      <url-pattern>/servletA/*</url-pattern>
   </servlet-mapping>
...
   <servlet-mapping>
      <servlet-name>ServletB</servlet-name>
      <url-pattern>/servletB/*</url-pattern>
   </servlet-mapping>
   <servlet-mapping>
      <servlet-name>ServletB</servlet-name>
      <url-pattern>/servletA/*</url-pattern>
   </servlet-mapping>

Therefore ServletA can never called.
IMHO the third <servlet-mapping> block is unnecessary (or wrong).
Is this a xdoclet bug ?
How can I solve this problem.
Best regards
Maik





-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to