Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > [HTTP] Problem with refresh

Reply
Thread Tools

[HTTP] Problem with refresh

 
 
guenther schoebel
Guest
Posts: n/a
 
      07-01-2003
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ReFresh problem or target problem phal Perl Misc 6 09-15-2005 03:23 PM
JSP: Session parameters vanish on refresh. How do I keep them on refresh? Per Magnus L?vold Java 1 10-08-2004 02:52 PM
How do i refresh a datagrid from a pop up window without having to refresh the whole page? Pkenty ASP .Net Web Controls 0 05-28-2004 07:06 AM
using refresh button on the menu bar to refresh two frames. Jawahar Rajan ASP General 1 10-01-2003 09:20 PM
Problem with refresh button breaking automatic refresh brian lanning ASP .Net 0 07-29-2003 07:57 PM



Advertisments