Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: [OT]:Jsp page won't refresh

Yansheng Lin

2004-02-02

Replies:

If you really want to use jsp, you code should work. You might have to delete
/work so that your jsp page gets recompiled.

I don't recommend it though.

-----Original Message-----
From: Januski, Ken [mailto:kjanuski@(protected)]
Sent: Monday, February 02, 2004 4: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:yansheng.lin@(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:kjanuski@(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: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.