[HTTP] Problem with refresh

Discussion in 'HTML' started by guenther schoebel, Jul 1, 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 invoke 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 1, 2003
    #1
    1. Advertisements

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:
    837
    brian lanning
    Jul 29, 2003
  2. Alfons Puig

    Alternate to HTTP Response Header Refresh

    Alfons Puig, Aug 28, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    704
    Charlie Nilsson [MSFT]
    Aug 30, 2003
  3. NNTP
    Replies:
    2
    Views:
    1,115
    =?Utf-8?B?S2V2aW4gVG9kZA==?=
    Mar 18, 2005
  4. Chumley Walrus
    Replies:
    1
    Views:
    1,179
    Joerg Jooss
    Mar 5, 2005
  5. guenther schoebel

    [HTTP] Problem with refresh

    guenther schoebel, Jul 3, 2003, in forum: Java
    Replies:
    0
    Views:
    468
    guenther schoebel
    Jul 3, 2003
  6. Per Magnus L?vold
    Replies:
    1
    Views:
    5,680
    John C. Bollinger
    Oct 8, 2004
  7. Pkenty
    Replies:
    0
    Views:
    605
    Pkenty
    May 28, 2004
  8. Jawahar Rajan
    Replies:
    1
    Views:
    437
    Adrienne
    Oct 1, 2003
Loading...