|
Servlets Interview - August 02, 2008, 17:00 pm by Amit Satpute
Answer - Servlets are the programs that run under web server
environment....
Answer - Servlets life cycle involve three important
methods....
Answer - There are four ways of Authentication options
available in servlets......
Answer - The Constructor HttpServlet() does nothing because this
is an abstract class.........
Answer - Yes, it is possible to have a constructor for a
servlet.......
Answer - Applets are applications designed to be
transmitted over the network......
Answer - In some organizations, the intranet is blocked
by a firewall to the internet..........
Answer - Both are interfaces in the package
javax.servlet...............
Answer - doGet() and doPost() are HTTP requests handled
by servlet classes..........
Answer - getSession(true) will check whether a session
already exists for the user..........
Answer - Servlets are Java based analog to CGI programs,
implemented by means of ..........
Answer - RMI (Remote Method Invocation) are a means of
client server communication........
Answer - Servlet mapping controls how you access a
servlet. It is recommended that you don’t use.........
|