I\'m having trouble building an absolute URL from a relative URL without resorting to String hackery...
Given
http://localhost:8080/myWebApp/someSer
Using java.net.URL
URL baseUrl = new URL("http://www.google.com/someFolder/"); URL url = new URL(baseUrl, "../test.html");