Solved

Transferring Control using Timer

Posted on 2003-10-28
3
149 Views
Last Modified: 2010-04-01
you can simply use meta tag in html <head> section
<META HTTP-EQUIV=Refresh CONTENT="300; URL=page3.jsp">
or use:
<% response.setHeader( "Refresh", "300; URL=page3.jsp" ); %>


Correct, it transfers for a JSP but gives an error if i use servlet

description The specified HTTP method is not allowed for the requested resource (HTTP method GET is not supported by this URL).

Pls help
0
Comment
Question by:RajeshPD
3 Comments
 
LVL 14

Accepted Solution

by:
kennethxu earned 20 total points
ID: 9639308
>> HTTP method GET is not supported by this URL
This is because you didn't implement doGet in your servlet, you need this:

public void doGet( ... ) {
  doPost( ... );
}
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Exception creating bean of class 5 203
Apache server configuration 7 87
library class in java 1 93
maven webservice projet error 6 80
This article explains the steps required to use the default Photos screensaver to display branding/corporate images
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question