On Thu, 2003-06-05 at 19:47, Fan, Hong wrote:
> I am new in Xdoclet. I have a need to precompile all JSP pages into
> servlets and puts corresponding servlet mapping into the web.xml. Can
> someone suggest how to add these servlet mapping in web.xml using
> XDoclet?

Since xdoclet only processes java files, not JSPs, you need to use a
merge file to add these.  In this particular case, you'll want to use
the servlets.xml merge point to add the appropriate <servlet> elements
into the deployment descriptor.  You'll probably want to use the
servlet-mappings.xml merge point to add <servlet-mapping> elements for
them, too.


Andrew.



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to