/**
* The <code>SetSessionConfig</code> rule used to parse the web.xml
*/
- protected SetSessionConfig sessionConfig;
+ protected SetSessionConfig sessionConfig = new SetSessionConfig();
/**
* The <code>SetLoginConfig</code> rule used to parse the web.xml
*/
- protected SetLoginConfig loginConfig;
+ protected SetLoginConfig loginConfig = new SetLoginConfig();
/**
* The <code>SetJspConfig</code> rule used to parse the web.xml
*/
- protected SetJspConfig jspConfig;
+ protected SetJspConfig jspConfig = new SetJspConfig();
// ------------------------------------------------------------ Constructor
*/
@Override
public void addRuleInstances(Digester digester) {
- sessionConfig = new SetSessionConfig();
- jspConfig = new SetJspConfig();
- loginConfig = new SetLoginConfig();
-
digester.addRule(fullPrefix,
new SetPublicIdRule("setPublicId"));
digester.addRule(fullPrefix,
<bug>51396</bug>: Correctly handle jsp-file entries in web.xml when the
JSP servlet has been configured via code when embedding Tomcat. (markt)
</fix>
+ <fix>
+ <bug>51401</bug>: Correctly initialise shared WebRuleSet instance used
+ by the digesters that parse web.xml and prevent incorrect warnings about
+ multiple occurrences of elements that are only allowed to appear once in
+ web.xml and web-fragment.xml. (kfujino)
+ </fix>
</changelog>
</subsection>
<subsection name="Coyote">