How will you open a new page after certain interval of time
(5 sec), on clicking of a button in an html page?

Answers were Sorted based on User's Feedback



How will you open a new page after certain interval of time (5 sec), on clicking of a button in an ..

Answer / himanshu agrawal

use meta tag:
<META HTTP-EQUIV=Refresh CONTENT=5;URL=YourURL>

Is This Answer Correct ?    2 Yes 1 No

How will you open a new page after certain interval of time (5 sec), on clicking of a button in an ..

Answer / prakash

use meta refresh tag to set the interval or use javascript
onclick functionality

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Servlets Interview Questions

Directive Include and Action Include how both are working in JSP, what is the difference between both?In which suituation we have to choose these elements?

4 Answers   AZTEC,


What is the procedure for initializing a servlet?

0 Answers  


What is DSN and System DSN and what is the difference between them?

2 Answers  


What do you mean by cgi and what are its drawbacks?

0 Answers  


What is the major difference between context parameter and context attribute?

0 Answers  






Explain the methods of request dispatcher in servlet?

0 Answers  


how can you give alias to servlets?

1 Answers  


What is the difference between forward () and sendredirect () functions in servlet? Explain

0 Answers  


What is http servlet?

0 Answers  


What do you mean by servlet context?

0 Answers  


How the JSP file will be executed on the Server side?

0 Answers   Cap Gemini,


What is the default HttpRequest method?

6 Answers  


Categories