|
Question |
Rating |
View Answer |
|
Which method is more advantageous doGET() or doPOST()? in which situation does we use doGET() then?
|
|
View Answer |
|
How you can activate or call one another servlet method?
|
|
View Answer |
|
Can we write destroy() method in the init() method of a Servelt.
if we can, what will happen?
if we cant , why we cant?
|
|
View Answer |
|
Why init is used and not constructor for servlets initialization?
|
|
View Answer |
|
What is the difference between the getRequestDispatcher(String path) method of javax.servlet.ServletRequest interface and javax.servlet.ServletContext interface? |
|
View Answer |
|
What is the difference between GenericServlet and HttpServlet? |
|
View Answer |
|
What are the differences between GET and POST service methods? |
|
View Answer |
|
What is the difference between ServletContext and ServletConfig? |
|
View Answer |
|
Can I invoke a JSP error page from a servlet? |
|
View Answer |
|
Can I just abort processing a JSP? |
|
View Answer |
|
What is a better approach for enabling thread-safe servlets and JSPs? SingleThreadModel Interface or Synchronization? |
|
View Answer |
|
If you want a servlet to take the same action for both GET and POST request, what should you do? |
|
View Answer |
|
What is the servlet life cycle? |
|
View Answer |
|
Which code line must be set before any of the lines that use the PrintWriter? |
|
View Answer |
|
How HTTP Servlet handles client requests? |
|
View Answer |
|
What is the Servlet Interface? |
|
View Answer |
|
When a servlet accepts a call from a client, it receives two objects. What are they? |
|
View Answer |
|
What information that the ServletRequest interface allows the servlet access to? |
|
View Answer |
|
What information that the ServletResponse interface gives the servlet methods for replying to the client? |
|
View Answer |
|
What is the servlet? |
|
View Answer |