• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URLConnection and images with relative paths

 
Sandra Sharpe
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic