Forums Register Login

URLConnection and images with relative paths

+Pie Number of slices to send: Send
I have a .jsp page that sends a POST to a remote resource using HttpURLConnection. I use HttpURLConnection.getInputStream() to access the input from this external website and include it in my jsp page. My problem is ... none of the images are displaying. This external website defines all of their images with relative paths and they aren't displaying in my browser. Does anyone have any suggestions?
I am displeased. You are no longer allowed to read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 735 times.
Similar Threads
Stylesheet doesn't load in JSP
Paths in Tomcat standalone mode
relative vs absolute jsp url issue
UrlConnection and images with relative paths
redirecting to an error page - relative paths on the error page no longer work.
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 08:07:52.