Servlets Pertanyaan dan Jawaban Wawancara
Question: When we don't write any constructor for the servlet, how does container create an instance of servlet?Answer: Container creates instance of servlet by calling Class.forName(className).newInstance(). |
Simpan untuk Revisi
Bookmark item ini, tandai sebagai sulit, atau masukkan ke dalam set revisi.
Masuk untuk menyimpan bookmark, pertanyaan sulit, dan set revisi.
Apakah ini membantu? Ya Tidak
Most helpful rated by users:
- What is Servlet?
- Why is Servlet so popular?
- What is servlet container?
- When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
- If a servlet is not properly initialized, what exception may be thrown?