Answer following questions. 1. Define Servlet. 2. Write elements of web.xml file. 3. List status code range with their use. 4. List JSP action tags. 5. Write use of <jsp:useBean>. 6. If a web application has Servlet, Listener and Filter classes. Write sequence of instantiation done by the server. 7. Differentiate JSP with Servlet.
Explain Servlet request methods to read client form data with example.
[7 marks]Differentiate following
[7 marks]forward() and include() ii) GenericServlet and HttpServlet
[ marks]Explain ServletConfig Interface and its parameter with example.
[7 marks]Describe Cookie. Write programming statement to create cookie, retrieve cookie and delete cookie.
[7 marks]List and explain HttpResponse headers.
[7 marks]Describe Session. Write programming statement to create session, retrieve session and delete session.
[7 marks]List and explain HttpRequest headers.
[7 marks]Draw and explain MVC Architecture.
[7 marks]List and Explain JSP implicit object with syntax.
[7 marks]Explain steps for connecting and inserting a record in database using JDBC.
[7 marks]Explain JSP EL scripting with example.
[7 marks]Explain HttpSessionListener and Listener methods with example.
[7 marks]List steps for implementing Form based Authentication.
[7 marks]Explain HttpContextListener and Listener methods with example.
[7 marks]List steps for implementing BASIC Authentication. 1/1
[7 marks]