Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

URLConnection and images with relative paths  RSS feed

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Anything worth doing well is worth doing poorly first. Just look at this tiny ad:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!