On Wed, 2003-07-16 at 19:54, Rajeev Chitamoor wrote:
> I am an XDoclet newbie and I am trying to figure out the appropriate
> merge file (used by the webdoclet tag) to put the
> 
>  
> 
> <session-config> param. 
> 
>  
> 
> I looked at the XML comments present in generated web.xml to figure
> out the names of the merge files.
> 
> Is there some documentation on the list of merge files that webdoclet
> (ant task) recognizes, or is this configurable ?.

webdoclet itself doesn't recognize any merge files since it doesn't
generate anything, just runs any specified subtasks.  However, the
various subtasks (deploymentdescriptor, jbosswebxml, etc.) do.  All the
merge points are documented on the various subtasks' pages in the docs &
on the web site, between the "Attributes" and "Nested Elements"
sections.

I assume you're using the deploymentdescriptor subtask to generate
web.xml, and want to specify the <session-timeout> value? (since that's
the only element present in <session-config> in the Servlet 2.2 & 2.3
DTDs)  The bad news is there's no merge file that includes that
element.  The good news is it doesn't need one, as you specify it with a
Sessiontimeout config parameter on the subtask i.e. just use
<deploymentdescriptor Sessiontimeout="60"/>
as listed in the Attributes section of deploymentdescriptor's docs.


Andrew.



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to