[
https://issues.apache.org/jira/browse/GERONIMO-5557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
viola.lu updated GERONIMO-5557:
-------------------------------
Attachment: G5557.patch
sample usage:
<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1"
xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2"
xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0"
xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2">
<sys:environment>
<sys:moduleId>
<sys:groupId>org.test.apache</sys:groupId>
<sys:artifactId>hello</sys:artifactId>
<sys:version>2.1.1.2</sys:version>
<sys:type>car</sys:type>
</sys:moduleId>
<sys:dependencies/>
<sys:hidden-classes/>
<sys:non-overridable-classes/>
</sys:environment>
<context-root>/hello</context-root>
<!--<disable-cookies>true</disable-cookies>-->
<logEffectiveWebXml>true</logEffectiveWebXml>
<useHttpOnly>true</useHttpOnly>
<cacheMaxSize>2410</cacheMaxSize>
<cacheObjectMaxSize>512</cacheObjectMaxSize>
<cachingAllowed>true</cachingAllowed>
<unloadDelay>2000</unloadDelay>
<Parameter name="org.test" value="test" override="false"></Parameter>
</web-app>
Keep same with other existing tomcat context attributes setting.
Parameter sample code in servlet:
PrintWriter out = res.getWriter();
out.print("<b>"+getServletContext().getInitParameter("org.test")+"</b><br>");
Pls review it, thanks.
> Add more context level configurations for Tomcat
> ------------------------------------------------
>
> Key: GERONIMO-5557
> URL: https://issues.apache.org/jira/browse/GERONIMO-5557
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Affects Versions: 2.2.2, 3.0
> Reporter: Ivan
> Assignee: viola.lu
> Attachments: G5557.patch
>
>
> In the latest Tomcat build, more paramter could be configured on the context
> level
> A request thread in user-geronimo mail list :
> http://osdir.com/ml/user-geronimo-apache/2010-08/msg00003.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.