Most Frequently Asked Servlet Interview Question Answer   - (10)


1 .   What is different between web server and application server?

 

2 .    Which HTTP method is non-idempotent?

 

3 .   1 .  What is the difference between GET and POST method?

 

4 .   What is MIME Type?

 

5 .   What are common tasks performed by Servlet Container?

 

6 .   What is ServletConfig object?

 

7 .    What is ServletContext object?

 

8 .   What is difference between ServletConfig and ServletContext?

 

9 .   What is difference between PrintWriter and ServletOutputStream?

 

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