JSP Question:

Download Job Interview Questions and Answers PDF

How can a servlet refresh automatically if some new data has entered the database?

Java JSP Programming Interview Question
Java JSP Programming Interview Question

Answer:

You can use a client-side Refresh or Server Push.

Download Java JSP Programming Interview Questions And Answers PDF

Previous QuestionNext Question
Can we use the constructor, instead of init(), to initialize servlet? The code in a finally clause will never fail to execute, right?