You are not logged in.
Java Servlet Programming Interview Questions And Answers
Basic and Advanced Java Servlet Programming interview questions and answers...
1 What is the servlet?
2 Whats the difference between servlets and applets?
3 Whats the advantages using servlets than using CGI?
4 What are the uses of Servlets?
5 Whats the Servlet Interface?
6 When a servlet accepts a call from a client, it receives two objects. What are they?
7 What is Java Servlet?
8 Why is Servlet so popular?
9 What is servlet container?
10 When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
11 If a servlet is not properly initialized, what exception may be thrown?
12 Given the request path below, which are context path, servlet path and path info?
13 What is filter? Can filter be used as request or response?
14 When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?
15 What is new in ServletRequest interface?(Servlet 2.4)
16 Request parameter How to find whether a parameter exists in the request object?
17 How can I send user authentication information while makingURLConnection?
18 Can we use the constructor, instead of init(), to initialize servlet?
19 How can a servlet refresh automatically if some new data has entered the database?
20 The code in a finally clause will never fail to execute, right?
21 What mechanisms are used by a Servlet Container to maintain session information?
22 Difference between GET and POST in Java Servlets?
23 What is Java Servlet session?
24 What is servlet mapping?
25 What is servlet context ?
26 Which interface must be implemented by all servlets?
- Ads By Google