Author: rgardler
Date: Sun Dec  3 18:26:45 2006
New Revision: 482016

URL: http://svn.apache.org/viewvc?view=rev&rev=482016
Log:
No need to convert to URL in order to get path

Modified:
    
forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/locationMap/Location.java

Modified: 
forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/locationMap/Location.java
URL: 
http://svn.apache.org/viewvc/forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/locationMap/Location.java?view=diff&rev=482016&r1=482015&r2=482016
==============================================================================
--- 
forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/locationMap/Location.java
 (original)
+++ 
forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/locationMap/Location.java
 Sun Dec  3 18:26:45 2006
@@ -205,15 +205,8 @@
                                        "Unable to extract variable values from 
request: "
                                                        + re.getMessage(), re);
                }
-
-               try {
-                       url = requestURI.toURL();
-               } catch (final IllegalArgumentException e) {
-                       // we'll assume that this is not an absolute URL and 
therefore
-                       // refers to a file
-                       url = new URL("file://" + requestURI);
-               }
-               final String urlString = url.toExternalForm();
+               
+               String urlString = requestURI.getPath();
 
                        String sourceSSP = sourceURI.getSchemeSpecificPart();