[HTTP] Problem with refresh

Discussion in 'Java' started by guenther schoebel, Jul 3, 2003.

  1. hello,
    i wrote a little webserver in java:
    [SNIP]

    public synchronized boolean sendHTML(Object sendObject) throws
    IOException
    {
    boolean retbool=false;
    boolean fertig=false;
    String s=(String)sendObject;

    respondHTML("200 Ok");
    out.write("Content-Length: " + s.length() +
    "\r\n\r\n");
    out.write(s);
    retbool=true;

    out.flush();
    return retbool;

    }

    public void respondHTML(String s) throws IOException
    {
    out.write("HTTP/1.0 " + s + "\r\n");
    }

    [SNIP]

    if i call sendHTML() with this string :

    <html><head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="refresh"
    content="10;url=http://WW204054.w2:5001?refresh=ja">
    <title>Simulation-Server</title> </head><body> bla bla
    </body> </html>

    the refresh works with netscape !,

    at microsofts internet explorer version 6.0.26
    the refresh works only one time, the state-beam (blue beam) runs ..
    as if data is not complete ?

    with best wishes
     
    guenther schoebel, Jul 3, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. brian lanning
    Replies:
    0
    Views:
    616
    brian lanning
    Jul 29, 2003
  2. Chumley Walrus
    Replies:
    1
    Views:
    956
    Joerg Jooss
    Mar 5, 2005
  3. Per Magnus L?vold
    Replies:
    1
    Views:
    5,189
    John C. Bollinger
    Oct 8, 2004
  4. guenther schoebel

    [HTTP] Problem with refresh

    guenther schoebel, Jul 1, 2003, in forum: HTML
    Replies:
    0
    Views:
    873
    guenther schoebel
    Jul 1, 2003
  5. Pkenty
    Replies:
    0
    Views:
    420
    Pkenty
    May 28, 2004
Loading...

Share This Page