[Httpunit-commit] CVS: httpunit/src/com/meterware/httpunit WebApplet.java,1.6,1.7
Brought to you by:
russgold
|
From: Russell G. <rus...@us...> - 2003-03-12 15:40:47
|
Update of /cvsroot/httpunit/httpunit/src/com/meterware/httpunit
In directory sc8-pr-cvs1:/tmp/cvs-serv22666/src/com/meterware/httpunit
Modified Files:
WebApplet.java
Log Message:
from Daniel Jasmin: correct loading of applets from an archive
Index: WebApplet.java
===================================================================
RCS file: /cvsroot/httpunit/httpunit/src/com/meterware/httpunit/WebApplet.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- WebApplet.java 4 Feb 2003 05:32:03 -0000 1.6
+++ WebApplet.java 12 Mar 2003 15:40:44 -0000 1.7
@@ -125,7 +125,7 @@
List getArchiveList() throws MalformedURLException {
ArrayList al = new ArrayList();
StringTokenizer st = new StringTokenizer( getArchiveSpecification(), "," );
- while (st.hasMoreTokens()) al.add( new URL( _response.getURL(), st.nextToken() ) );
+ while (st.hasMoreTokens()) al.add( new URL( getCodeBaseURL(), st.nextToken() ) );
return al;
}
|