Answer following questions. 1. Draw Servlet lifecycle. 2. Write code snippet to print browser name and the number of bytes of data sent in client request. 3. State reason for requiring session management in web application. 4. Describe two ways of configuring session timeout in java web application. 5. Discuss advantages of JSP over Servlet. 6. Classify status codes and its available range. 7. List names of JDBC drivers.
List redirection techniques to redirect from servlet to another servlet and explain any two with example.
[7 marks]Differentiate following i. GenericServlet and HttpServlet ii. Servlet and CGI
[3 marks]Differentiate following i. ServletContext and ServletConfig ii. doGet and doPost
[3 marks]List techniques for session management and explain any one with example.
[7 marks]Explain lifecycle methods of filter interface with example. Write filter configuration in web.xml file.
[7 marks]Write HttpResponse generated from server. List and explain HttpServletResponse methods for setting response headersfrom servlet.
[7 marks]Explain HttpSessionEvent, HttpSessionListener and Listener methods with example.
[7 marks]Explain steps with syntax to connect with database using JDBC connectivity and retrieve data from a database table.
[7 marks]Describe EL scripting in JSP. Explain implicit objects of EL Scripting with example.
[7 marks]Explain integration of Servlet and JSP in web application using MVC Architecture.
[7 marks]Explain Javabeans with its jsp tag and its attributes with example.
[7 marks]Describe Declarative Security, List its types and explain any one type in detail.
[7 marks]Explain JSP standard action tags with example.
[7 marks]Explain Programmatic security model with example.
[7 marks]List and explain various phases of JSP lifecycle. 1/1
[7 marks]