| Other Servlets Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| In servlets, Why do we need both GET and POST method
implementations? | IBM | 3 |
| What is the default HttpRequest method? | | 1 |
| What type of protocols are used in HttpServlet? | | 1 |
| Hi Frieds, I am new to servlet why to use servlet in
webapplication. what i know is " use servlet as a
controller in mvc and to implemnent business logic . is it
correct ? One more thing reason for implementing business
logic with servlets , why not jsp. | | 3 |
| how the jsp page can be regenerated? | HCL | 1 |
| can u give some realtime example in ploymorphism? and
inheritance? | SolutionNET | 6 |
| What are the security issues in Servlets? | | 1 |
| why business logic written using servlets not in jsp. Jsp
used for presentation purpose. serlvet used for coding
business logic and controller logic. Reason for using
servlets in business logic. | | 2 |
| What happens, if server sends a cookie to a browser that
doesn't supports cookies? | | 2 |
| Is there any need to shutdown the web server, if you want
to modify a servlet? | | 3 |
| what are the different services provided by the web server? | | 2 |
| how a servlet is instantiated, whether the container calls
init() or by calling any other method? please somebody reply.. | Siemens | 5 |
| What happens, when client requests for server object, which
is not yet loaded into the memory? | | 1 |
| how can we create object to a class in a jsp file? | L&T | 3 |
| can v create a constructor 4 servlet? | Satyam | 4 |
| Can we write a constructor for a Servlet class ? if yes how ?
if no why not ? | | 10 |
| How values can be passed from HTML page to servlet? | ABC | 7 |
| What are the difference between HttpServlet and
GenericServlets? | | 1 |
| where the generated jsp source file are stored? | HCL | 5 |
| can we create more than ServletContext and ServletConfig in
your application | Patni | 5 |
| |
| For more Servlets Interview Questions Click Here |