Results 1 to 4 of 4
  1. #1
    nlgopi is offline Member
    Join Date
    Oct 2008
    Posts
    5
    Rep Power
    0

    Default Http Webserver - Mage inclution in response

    hi everyone,
    Sorry,the subject is inclusion of Image in Response .i gotta prob.. i dont use Servlets for my application to develop a http server.i can send response packets((needed site) to the client browser.The problem is the image in those static pages.do anyone of you know how to include them.I make use of TCP sockets only.
    Last edited by nlgopi; 10-17-2008 at 01:13 PM.

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    16,609
    Rep Power
    23

    Default

    how to include them
    Is this an HTML question? Are you asking how to code the <IMG tag?
    Not sure I understand your app.
    Is there a browser asking a server for an HTML page and the server is returning a static page with <IMG tags but the images are NOT being obtained from the server when the browser asks it for them? What is the path referenced in the HTTP GET that the browser sends to the server for the image? Is the image file there?
    Could you explain your problem better?

  3. #3
    nlgopi is offline Member
    Join Date
    Oct 2008
    Posts
    5
    Rep Power
    0

    Default Hi norm

    sorry ,sir...i made it through.The problem was that for the browser to send me the image request again,i have to include the server's ip (my ip address) in the image tag.thank you very much for ur response.

  4. #4
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    16,609
    Rep Power
    23

    Default

    have to include the server's ip (my ip address) in the image tag.
    YOu should NOT need to specify the IP address if the image is on the same sever as the HTML page

Similar Threads

  1. Server returned HTTP response code: 500.. i need help
    By hardc0d3r in forum Java Servlet
    Replies: 9
    Last Post: 03-12-2012, 08:08 PM
  2. Replies: 5
    Last Post: 10-14-2008, 06:16 PM
  3. java.io.Exception: Server returned HTTP response code: 403
    By navishkumarb in forum Advanced Java
    Replies: 1
    Last Post: 01-05-2008, 01:33 PM
  4. Server returned HTTP response code: 500
    By Heather in forum Java Servlet
    Replies: 1
    Last Post: 07-09-2007, 04:32 AM
  5. Gallery Mage 2.4.1
    By levent in forum Java Software
    Replies: 0
    Last Post: 05-20-2007, 09:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •