Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   HTML (http://www.velocityreviews.com/forums/f31-html.html)
-   -   [HTTP] Problem with refresh (http://www.velocityreviews.com/forums/t153700-http-problem-with-refresh.html)

guenther schoebel 07-01-2003 12:03 PM

[HTTP] Problem with refresh
 
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


All times are GMT. The time now is 03:17 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.