Yangshen,

As soon as I tried your method it worked just as it should have. But I'm
still stymied why response.setHeader and setIntHeader don't seem to work.
But users will be happy it refreshes, which is what's most important. It's
now more of a theoretical question as to why response.setHeader doesn't seem
to.

Ken


-----Original Message-----
From: Januski, Ken [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 6:04 PM
To: Tomcat Users List
Subject: RE: [OT]:Jsp page won't refresh


I thought that response.setHeader("Refresh","30") was supposed to be a
shortcut for the meta code you suggest.

But since it just won't work for me I may try your suggestion.

Thanks,

Ken


-----Original Message-----
From: Yansheng Lin [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 6:00 PM
To: 'Tomcat Users List'
Subject: RE: [OT]:Jsp page won't refresh


so you want you page to refresh every 30 seconds, right?  You can use the
<meta>
tag, something like
  <meta http-equiv="refresh" content="60">

Hope this helps.

-Yan

-----Original Message-----
From: Januski, Ken [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 3:39 PM
To: Tomcat Users List
Subject: [OT]:Jsp page won't refresh


Sorry for this sort of OT question. I'm trying to get a jsp page to refresh
with either response.setHeader("Refresh","30") or
response.setIntHeader("Refresh", 30). But I can find no sign of any
refreshing going on.

Does anyone have any clues as to what might prevent the refresh?

Exact code is: 
<% response.setIntHeader("Expires",30); %>

Thanks for any ideas,

Ken


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to