On Jan 13, 2006, at 11:44 AM, Allen Gilliland wrote:
Okay, I am going to gripe about this one a bit. I think it's
rather stupid that xdoclet is telling us how to write our code.
There is no reason why I shouldn't be able to extend a servlet
class and have both parent and child mapped as servlets. The
reason I made this change is because I would like to tidy up the
velocity servlets and rename the BasePageServlet to just
PageServlet, which makes more sense.
That's a valid complaint. I'm pretty sure that the XDoclet folks
would consider this to be a bug.
Why not do it like this (or something similar):
PageServlet - no servlet mapping
WeblogServlet - /page/*
PreviewSevlet - /preview/*
RssServlet - /rss/*
AtomServlet - /atom/*
etc.
- Dave