Author: rjung
Date: Sun May 4 23:56:21 2008
New Revision: 653314
URL: http://svn.apache.org/viewvc?rev=653314&view=rev
Log:
Add info to docs, that variables sent via JkEnvVar
are not listed in request.getAttributeNames().
Modified:
tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml
tomcat/connectors/trunk/jk/xdocs/reference/apache.xml
tomcat/connectors/trunk/jk/xdocs/webserver_howto/apache.xml
Modified: tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml
URL:
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml?rev=653314&r1=653313&r2=653314&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml Sun May 4
23:56:21 2008
@@ -44,6 +44,10 @@
<subsection name="Native">
<changelog>
<update>
+ Add info to docs, that variables sent via JkEnvVar
+ are not listed in request.getAttributeNames(). (rjung)
+ </update>
+ <update>
Add JkWatchdogInterval directive for Apache 2.0
that allows unattended maintenance of the workers. (mturk)
</update>
Modified: tomcat/connectors/trunk/jk/xdocs/reference/apache.xml
URL:
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/reference/apache.xml?rev=653314&r1=653313&r2=653314&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/xdocs/reference/apache.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/reference/apache.xml Sun May 4 23:56:21
2008
@@ -296,9 +296,15 @@
If the default value is not given explicitely, the variable
will only be send, if it is set during runtime.
<br/>
+The default is empty, so no additional variables will be sent.
+<br/>
This directive can be used multiple times per virtual server.
+The settings will be merged between the global server and any
+virtual server.
<br/>
-The default is empty, so no additional variables will be sent.
+You can retrieve the variables on Tomcat as request attributes
+via request.getAttribute(attributeName). Note that the variables
+send via JkEnvVar will not be listed in request.getAttributeNames().
<br/>
Empty default values are supported since version 1.2.20.
Not sending variables with empty defaults and empty runtime value
@@ -738,12 +744,17 @@
</p>
<p>
-The directive <b>JkEnvVar</b> allows you to forward environment variables from
Apache server to Tomcat engine.
-The variables can be retrieved on the Tomcat side as request attributes.
+The directive <b>JkEnvVar</b> allows you to forward environment variables
+from Apache server to Tomcat engine.
You can add a default value as a second parameter to the directive.
If the default value is not given explicitely, the variable
will only be send, if it is set during runtime.
<br/>
+The variables can be retrieved on the Tomcat side as request attributes
+via request.getAttribute(attributeName).
+Note that the variables send via JkEnvVar will not be listed
+in request.getAttributeNames().
+<br/>
<br/>
The variables are inherited from the global server to virtual hosts.
Modified: tomcat/connectors/trunk/jk/xdocs/webserver_howto/apache.xml
URL:
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/webserver_howto/apache.xml?rev=653314&r1=653313&r2=653314&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/xdocs/webserver_howto/apache.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/webserver_howto/apache.xml Sun May 4
23:56:21 2008
@@ -704,12 +704,17 @@
</p>
<p>
-The directive <b>JkEnvVar</b> allows you to forward environment variables from
Apache server to Tomcat engine.
-The variables can be retrieved on the Tomcat side as request attributes.
+The directive <b>JkEnvVar</b> allows you to forward environment variables
+from Apache server to Tomcat engine.
You can add a default value as a second parameter to the directive.
If the default value is not given explicitely, the variable
will only be send, if it is set during runtime.
<br/>
+The variables can be retrieved on the Tomcat side as request attributes
+via request.getAttribute(attributeName).
+Note that the variables send via JkEnvVar will not be listed
+in request.getAttributeNames().
+<br/>
<br/>
The variables are inherited from the global server to virtual hosts.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]