Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: META HTTP-EQUIV="Refresh"


Message #1 by "Dilip R. Bhandarkar" <d_bhandarkar@h...> on Thu, 8 Feb 2001 20:28:42
Hi,
If you are setting this thru setHeader then it will get compiled by the 
jsp engine. If it is html meta tag then it comes thru the browser.
Did you try this thru jsp?

<% response.setHeader("Refresh", "5; URL=http://host/path"); %>

Bhuvana.

> Yes, it does.  It seems to work fine with Apache/Tomcat, but I am 
developing 
> in Forte for Java - Internet Edition.  Let me ask you another 
question.  
> Does this refresh occur through the browser or does the java file 
generated 
> by the JSP engine do it?  I have checked the the generated file the 
Forte 
> JSP engine and I didn't see any login for the Refresh.  Thanks.
> 
> Dilip
> 
> 
> >From: "Bhuvana Subaramanian" <bhuvana@e...>
> >Reply-To: "Pro_JavaServer_Pages" <pro_jsp@p...>
> >To: "Pro_JavaServer_Pages" <pro_jsp@p...>
> >Subject: [pro_jsp] Re: META HTTP-EQUIV="Refresh"
> >Date: Thu, 8 Feb 2001 13:54:53 -0800
> >
> >Is this Meta tag lies bet'n <head> tags. Check it out.
> >
> > > I have been running the example from Chapter 13.  Everything works
> >fine, except the follwoing tag in processingDelay.jsp file:
> > >
> > > <META HTTP-EQUIV="Refresh" content="2; URL=checkResponse.jsp">
> > >
> > > This has to refresh the page with checkResponse.jsp after 2 
seconds,
> >but does not seem to work. I tried various values for seconds without
> >success.  Is there something I am missing here?
> > >
> > > Dilip
> 
> 

  Return to Index