Hi All
I am trying to integrate Cactus v1.2 into Visual Age for Java 4.0.
The Cactus pakage "org.apache.cactus.client" has a class called
"HttpClientHelper" which has the following method in it.
<---------------------------------
private String getPath(WebRequest theRequest, URLConnection theConnection)
{
logger.entry("getPath(...)");
String path;
ServletURL url = theRequest.getURL();
if ((url != null) && (url.getPath() != null)) {
path = url.getPath();
} else {
path = theConnection.getURL().getPath();
}
logger.debug("Cookie validation pah = [" + path + "]");
logger.exit("getPath");
return path;
}
<-------------------------------------
In this method, in the line "path = theConnection.getURL().getPath();" the
URL Class of java.net.io is using the getPath method which is present only
in jdk1.3 onwards.
Since Visual Age for Java uses jdk1.2.2, this method is not defined for the
java.net.URL class of jdk1.2.2
Could anybody please suggest a workaround or solution for this.
Thanks
Piyush A.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>