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
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