[HTTP] Problem with refresh

  • Thread starter guenther schoebel
  • Start date
G

guenther schoebel

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top