Author: remy.maucherat(a)jboss.com
Date: 2010-12-01 08:49:46 -0500 (Wed, 01 Dec 2010)
New Revision: 1601
Modified:
trunk/java/org/jboss/web/rewrite/TomcatResolver.java
trunk/webapps/docs/changelog.xml
Log:
- The resolver should look at request attributes.
Modified: trunk/java/org/jboss/web/rewrite/TomcatResolver.java
===================================================================
--- trunk/java/org/jboss/web/rewrite/TomcatResolver.java 2010-12-01 10:44:48 UTC (rev
1600)
+++ trunk/java/org/jboss/web/rewrite/TomcatResolver.java 2010-12-01 13:49:46 UTC (rev
1601)
@@ -132,7 +132,8 @@
}
public String resolveEnv(String key) {
- return System.getProperty(key);
+ Object result = request.getAttribute(key);
+ return (result != null) ? result.toString() : System.getProperty(key);
}
public String resolveSsl(String key) {
Modified: trunk/webapps/docs/changelog.xml
===================================================================
--- trunk/webapps/docs/changelog.xml 2010-12-01 10:44:48 UTC (rev 1600)
+++ trunk/webapps/docs/changelog.xml 2010-12-01 13:49:46 UTC (rev 1601)
@@ -17,13 +17,6 @@
<body>
<section name="JBoss Web 3.0.0.Beta8 (remm)">
- <subsection name="Coyote">
- <changelog>
- <fix>
- <jboss-jira>JBPAPP-5293</jboss-jira>: ConcurrentModificationException
in HandshakeCompletedNotify-Thread. (remm)
- </fix>
- </changelog>
- </subsection>
<subsection name="Catalina">
<changelog>
<fix>
@@ -45,8 +38,18 @@
<fix>
Allow a landing page for FORM. (markt)
</fix>
+ <fix>
+ <jira>190</jira>: The rewrite resolver should look at request
attributes. (remm)
+ </fix>
</changelog>
</subsection>
+ <subsection name="Coyote">
+ <changelog>
+ <fix>
+ <jboss-jira>JBPAPP-5293</jboss-jira>: ConcurrentModificationException
in HandshakeCompletedNotify-Thread. (remm)
+ </fix>
+ </changelog>
+ </subsection>
<subsection name="Jasper">
<changelog>
<fix>
Show replies by date