resin-web-xml

Subtask for generation of web.xml with resin extensions.

Attributes

Attribute Description Required
appDir No.
charEncoding No.
classUpdateInterval No.
configUpdateInterval No.
directoryServlet No.
generateSourceComments No.
id No.
lazyInit No.
searchForConfigElements No.
secure No.
tempDir No.
urlRegexp No.
useStandardMergeFiles No.
workDir No.
servletspec Sets the Servletspec attribute of the WebXmlSubTask object No.
smallicon Sets the Smallicon attribute of the WebXmlSubTask object No.
largeicon Sets the Largeicon attribute of the WebXmlSubTask object No.
displayname Sets the Displayname attribute of the WebXmlSubTask object No.
description Sets the Description a ttribute of the WebXmlSubTask object No.
distributable Sets the Distributable attribute of the WebXmlSubTask object No.
sessiontimeout Sets the Sessiontimeout attribute of the WebXmlSubTask object No.
tagLibs Sets the TagLibs attribute of the WebXmlSubTask object No.
welcomeFiles Sets the WelcomeFiles attribute of the WebXmlSubTask object No.
contextParams Sets the ContextParams attribute of the WebXmlSubTask object No.
useIds If this attribute is set to true, XDoclet will generate id attributes in the XML document. Note that this is only available in some subtasks. No. Default is "false"
xmlencoding The encoding of the produced xml file. If your XML file uses international characters, you might want to set this to "ISO-8859-1". No, default is "UTF-8"
schema Sets the Schema attribute of the XmlSubTask object. No.
validateXML If this is set to true, the generated XML will be validated against its DTD or XML Schema. No.
acceptInterfaces Indicates whether or not to generate for interfaces. No, default is "true"
acceptAbstractClasses Indicates whether or not to generate for abstract classes. No, default is "true"
packageSubstitutions Sets the PackageSubstitutions attribute of the TemplateSubTask object No.
packageSubstitutionInheritanceSupported Indicates whether or not package substitution should be inherited No, default is "true"
subTaskClassName Sets a different name for the subtask which will be seen in the log messages. No.
prefixWithPackageStructure Indicates whether or not to prefix with package structure. No, default is "true"
templateFile Sets the name of the template file to use for generation Yes if its a nested elem ent.
havingClassTag Sets the HavingClassTag attribute of the TemplateSubTask object No.
ofType No.
subTaskName Sets an optional name for the subtask that will be seen in XDoclet's debug messages. No.
destDir Sets the directory where the generated file will be written. No.
mergeDir Specifies the location of the merge directory. This is where XDoclet will look for merge files. No.

Merge Files

File name Description Relates to
web-settings.xml The standard merge file from WebDocletTask's deploymentdescriptor subtask. If present, used instead of generating from config parameters. resin-web.xml
filters.xml The standard merge file from WebDocletTask's deploymentdescriptor subtask. Also included in Resin's descriptor if the useStandardMergeFiles config parameter is true . resin-web.xml
filter-mappings.xml The standard merge file from WebDocletTask's deploymentdescriptor subtask. Also included in Resin's descriptor if the useStandardMergeFiles config parameter is true. resin-web.xml
servlets.xml The standard merge file from WebDocletTask's deploymentdescriptor subtask. Also included in Resin's descriptor if the useStandardMergeFiles config parameter is true. resin-web.xml
servlet-mappings.xml The standard merge file from WebDocletTask's deploymentdescriptor subtask. Also included in Resin's descriptor if the useStandardMergeFiles config parameter is true. resin-web.xml
mime-mappings.xml The standard merge file from WebDocletTask's deploymentdescriptor subtask. Also included in Resin's descriptor if the useStandardMergeFiles config parameter is true. resin-web.xml
taglibs.xml The standard merge file from WebDocletTask's deploymentdescriptor subtask. Also included in Resin's descriptor if the useStandardMergeFiles config parameter is true. resin-web.xml
web-resource-env-refs.xml The standard merge file from WebDocletTask's deploymentdescriptor subtask. Also included in Resin's descriptor if the useS tandardMergeFiles config parameter is true. resin-web.xml
ejb-resourcerefs.xml The standard merge file from WebDocletTask's deploymentdescriptor subtask. Also included in Resin's descriptor if the useStandardMergeFiles config parameter is true. resin-web.xml
web-security.xml The standard merge file from WebDocletTask's deploymentdescriptor subtask. Also included in Resin's descriptor if the useStandardMergeFiles config parameter is true. resin-web.xml
web-sec-roles.xml The standard merge file from WebDocletTask's deploymentdescriptor subtask. Also included in Resin's descriptor if the useStandardMergeFiles config parameter is true. resin-web.xml
web-env-entries.xml The standard merge file from WebDocletTask's deploymentdescriptor subtask. Also included in Resin's descriptor if the useStandardMergeFiles config parameter is true. resin-web.xml
web-ejbrefs.xml The standard merge file from WebDocletTask's deploymentdescriptor subtask. Also included in Resin's descriptor if the useStandardMergeFiles config parameter is true. resin-web.xml
resinweb-custom.xml Optional top-level merge path resinweb-custom.xml for resin-only configuration . resin-web.xml
web-sec-rolerefs-{0}.xml An XML unparsed entity containing security-role-ref elements for a bean, to use instead of generating from web.security-role-ref tags. resin-web.xml
web-ejbrefs-{0}.xml An XML unparsed entity containing ejb-ref elements for a bean, to use instead of generating from web.ejb-ref tags. resin-web.xml
web-env-entries-{0}.xml An XML unparsed entity containing env-entry elements for a bean, to use instead of generating from web.env-entry tags. resin-web.xml
ejb-resourcerefs-{0}.xml An XML unparsed entity containing resource-ref elements for a bean, to use instead of generating from web.resource-ref tags. resin-web.xml
resin-jndi-link-{0}.xml An XML unparsed entity containing jndi-link elements for a bean, to use instead of generating from resin.jndi-link tags. resin-web.xml
web-settings.xml An XML unparsed entity containing (icon?, display-name?, description?, distributable?, context-param*) elements, to be used instead of generating them from config parameters. web.xml
filters.xml An XML unparsed entity containing the filter elements for any additional filters not processed by XDoclet. web.xml
filter-mappings.xml An XML unparsed entity containing the filter-mapping elements for any additional filters not processed by XDoclet. web.xml
listeners.xml An XML unparsed entity containing the listener elements for any additional listeners not processed by XDoclet. web.xml
servlets.xml An XML unparsed entity containing the servlet elements for any additional servlets not processed by XDoclet. web.xml
servlet-mappings.xml An XML unparsed entity containing the servlet-mapping elements for any additional servlets not processed by XDoclet. web.xml
web-sec-rolerefs-{0}.xml An XML unparsed entity containing any security-role-ref elements for a servlet, to use instead of generating from web.security-role-ref tags. web.xml
mime-mappings.xml An XML unparsed entity containing the mime-mapping elements for the web application. web.xml
welcomefiles.xml XML document containing a welcome-file-list element, used instead of welcomeFiles config parameters. web.xml
error-pages.xml An XML unparsed entity containing the error-page elements for the web application. web.xml
taglibs.xml An XML unparsed entity containing taglib elements, for tag libraries not defined in tagLibs config parameters. web.xml
web-resource-env-refs.xml An XML unparsed entity containing resource-env-ref elements for any resources not specified by web.resource-env-ref tags. web.xml
ejb-resourcerefs.xml An XML unparsed entity containing resource-ref entities for any resources not specified in web.resource-ref tags. web.xml
ejb-resourcerefs-{0}.xml An XML unparsed entity containing resource-ref entities for any resources for a class not specified in web.resource-ref tags. web.xml
web-security.xml An XML unparsed entity containing the (security-constraint*, login-config?) elements for the web application. web.xml
web-sec-roles.xml An XML unparsed entity containing s ecurity-role entities for any roles not specified in web.security-role tags. web.xml
web-env-entries.xml An XML unparsed entity containing env-entry entities for any entries not specified in web.env-entry tags. web.xml
web-env-entries-{0}.xml An XML unparsed entity containing env-entry entities for any entries for a class not specified in web.env-entry tags. web.xml
web-ejbrefs.xml An XML unparsed entity containing ejb-ref entities for any EJB references not specified in web.ejb-ref tags. web.xml
web-ejbrefs-{0}.xml An XML unparsed entity containing ejb-ref entities for any EJB references for a class not specified in web.ejb-ref tags. web.xml
web-ejbrefs-local.xml An XML unparsed entity containing ejb-local-ref entities for any EJB local references not specified in web.ejb-local-ref tags. web.xml
web-ejbrefs-local-{0}.xml An XML unparsed entity containing ejb-local-ref entities for any EJB local references for a class not specified in web.ejb-local-ref tags. web.xml

Nested Elements

Element Description
configParam Describe the method
contextparam Describe the method
ofType
packageSubstitution Substitutes the package of the generated files.
taglib Describe the method
welcomefile Describe the method