1) Write JSP syntax of following.
[4 marks]Scriptlet element ii) Expression element iii) Declaration element iv) Comments 01 2) Servlets always run inside a servlet container. 3) -------------method of Servlet interface is called multiple times during life cycle. 01 4) What is the use of action attribute of html form? 01
[ marks]What is Servlet? Explain the basic servlet structure.
[7 marks]How to pass form data to servlet and how to read form data from servlet. 0
[7 marks]What is the HttpServletRequest? Discuss all access methods of HttpServletRequest in detail.
[7 marks]Explain method of reading request header.
[7 marks]What is Filter? How to create Filter?write its steps and explain with example.
[7 marks]Explain methods available in HttpSession .
[7 marks]Why Cookies used? Explain how Cookies are send and received by the servlet.
[7 marks]Describe important status code of HTTP1.1 protocol.
[7 marks]Explain predefined variable in JSP?
[7 marks]What is the JavaBeans? How many ways Beans can be shared? Explain each with example.
[7 marks]What do you understand by JSP Action? Write a note on jsp:plugin , jsp:fallback and jsp:param Element.
[7 marks]What is MVC? Explain implementing MVC with RequestDispatcher.
[7 marks]What is the Scoped Variable? How to EL access Scoped Variables?
[7 marks]What is the use of ResultSet in JDBC? Write a code in JDBC for view list of records from a table.
[7 marks]What are different types of statements available in JDBC? Where do we use these Statements?
[7 marks]What is the form-based security?Describe the steps involved in form-based security.
[7 marks]