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

what are the disadvantages of cookies?

8 Answers  


Explain the concept of ssi ?

0 Answers  


What are the features added in Servlet 2.5?

0 Answers  


How does java thread pool work?

0 Answers  


What is context switching?

6 Answers  






Explain the difference between servlet and cgi?

0 Answers  


How to debug a servlet?

2 Answers  


What do you mean by session tracking and also explain its techniques?

0 Answers  


where the session data will stored?

4 Answers  


What are the ways to handle multi-threading in servlets?

0 Answers  


How can the referrer and the target urls be used in servlet?

0 Answers  


How is a servlet implemented in code?

0 Answers  


Categories