On Mon, 2003-07-21 at 12:15, Andy Jefferson wrote:
> I've got a web app that uses a mix of servlets and JSP. I currently have
> a manually written web.xml and want to autogenerate it. I've found the
> tags for servlet definition (@web.servlet) and defining the mappings of
> the servlet (@web.servlet-mapping). Additionally I've managed to specify
> the display-name, description, session-config, welcome-file-list,
> login-config (via web-security.xml merge file), security-role
> (web-sec-roles.xml merge file) sections of web.xml
> 
> What I am missing is the generation of security-constraint's for each
> servlet method or JSP page. I can obviously use a merge file, but feel
> that this info would be better in the actual JSP file or servlet method.
> How can I do this ?

It couldn't be generated from any JSP files, since the parser only
handles java source files.  Moreover, the only mention of
"security-constraint" I can see in the template
(http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/xdoclet/xdoclet/modules/web/src/xdoclet/modules/web/resources/web_xml.xdt?rev=1.18&content-type=text/vnd.viewcvs-markup)
 is in the "web-security.xml" merge point.  So I guess you're stuck with using that 
merge file to do it.


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