You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by vm...@apache.org on 2002/08/08 23:50:05 UTC
cvs commit: jakarta-cactus/framework/src/java/share/org/apache/cactus/util UrlUtil.java
vmassol 2002/08/08 14:50:05
Modified: documentation/docs/xdocs Tag: CACTUS_14_BRANCH changes.xml
framework/src/java/share/org/apache/cactus/client Tag:
CACTUS_14_BRANCH HttpClientConnectionHelper.java
Added: framework/src/java/share/org/apache/cactus/util Tag:
CACTUS_14_BRANCH UrlUtil.java
Log:
fixed JDK 1.2 incompatibility. Reported and patched by David George.
Revision Changes Path
No revision
No revision
1.35.2.2 +7 -1 jakarta-cactus/documentation/docs/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/jakarta-cactus/documentation/docs/xdocs/changes.xml,v
retrieving revision 1.35.2.1
retrieving revision 1.35.2.2
diff -u -r1.35.2.1 -r1.35.2.2
--- changes.xml 31 Jul 2002 21:42:32 -0000 1.35.2.1
+++ changes.xml 8 Aug 2002 21:50:04 -0000 1.35.2.2
@@ -47,7 +47,13 @@
<person name="Nicholas Lesiecki" email="ndlesiecki@yahoo.com" id="NDL"/>
</devs>
- <release version="1.4" date="July 31 2002">
+ <release version="1.4" date="in CVS">
+ <action dev="VMA" type="fix" due-to="David George" due-to-email="david.off@voila.fr">
+ Fixed JDK broken 1.2 compatibility (introduced in 1.4b1).
+ </action>
+ </release>
+
+ <release version="1.4b1" date="July 31 2002">
<action dev="VMA" type="add">
It is now possible to assert response codes in
<code>endXXX()</code>. For example, you can verify that you servlet
No revision
No revision
1.1.2.1 +4 -3 jakarta-cactus/framework/src/java/share/org/apache/cactus/client/HttpClientConnectionHelper.java
Index: HttpClientConnectionHelper.java
===================================================================
RCS file: /home/cvs/jakarta-cactus/framework/src/java/share/org/apache/cactus/client/HttpClientConnectionHelper.java,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1
--- HttpClientConnectionHelper.java 26 Jul 2002 18:50:29 -0000 1.1
+++ HttpClientConnectionHelper.java 8 Aug 2002 21:50:05 -0000 1.1.2.1
@@ -68,6 +68,7 @@
import org.apache.commons.httpclient.methods.GetMethod;
import org.apache.cactus.WebRequest;
+import org.apache.cactus.util.UrlUtil;
import org.apache.cactus.client.authentication.AbstractAuthentication;
/**
@@ -133,8 +134,8 @@
this.method.setUseDisk(false);
this.method.setFollowRedirects(false);
- this.method.setPath(url.getPath());
- this.method.setQueryString(url.getQuery());
+ this.method.setPath(UrlUtil.getPath(url));
+ this.method.setQueryString(UrlUtil.getQuery(url));
// Sets the content type
this.method.setRequestHeader("Content-type",
No revision
No revision
1.1.2.1 +115 -0 jakarta-cactus/framework/src/java/share/org/apache/cactus/util/Attic/UrlUtil.java
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>