Joy Ben
September 23rd, 1999, 02:24 AM
hi,
i have a servlet that generates HTML page with two FRAMES. Each frame inturn are servlets creating pages.
the bottom frame is a Form. And there is a res.setHeader("Refresh" , "1; URL=...") function in the servlet that has created the bottom Form page.
like for example: <a href="http://home/servlet/sampleServlet" target="_top"> click here </a>
will execute the sampleServlet(a servlet program) in full browser window only when user clicks this link.
same thing i want to achieve using
res.setHeader("Refresh" , "1; URL:http://home/servlet/sampleServlet"); where in the sampleServlet will execute after 1sec automatically.
how do i do this.
joy ben.
i have a servlet that generates HTML page with two FRAMES. Each frame inturn are servlets creating pages.
the bottom frame is a Form. And there is a res.setHeader("Refresh" , "1; URL=...") function in the servlet that has created the bottom Form page.
like for example: <a href="http://home/servlet/sampleServlet" target="_top"> click here </a>
will execute the sampleServlet(a servlet program) in full browser window only when user clicks this link.
same thing i want to achieve using
res.setHeader("Refresh" , "1; URL:http://home/servlet/sampleServlet"); where in the sampleServlet will execute after 1sec automatically.
how do i do this.
joy ben.