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

Answer Posted / himanshu agrawal

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

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we override destroy method in servlet?

506


How does java thread pool work?

548


What is the major difference between servlet and applet?

544


What is a servlet-to-servlet communcation?

651


What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?

622






What is the use of servlet wrapper classes?

673


What is the importance of init() method in Servlet ?

594


What is the capacity the doget can send to the server?

578


What is a deployment descriptor?

601


How to upload a file to the server using servlet?

533


Tell the new features added in servletrequest interface i.e. Servlet 2.4

575


What is Servlets and explain the advantages of Servlet life cycle?

585


Should I override the service() method?

670


How to make sure a servlet is loaded at the application startup?

560


What’s the difference between forward() and sendredirect() methods?

576