Explain following terms. 1) _____ environment variable is used to set the java path? 2) What is Truncation in Java? 3) MVC pattern stands for ______ . 4) _______ can be connect to database in a web application? 5) Storage capacity of cookies is ______ . 6) ______ , process starts with each request and will initiate OS level process. 7) _______ is used to pass information from JSP to included JSP.
[7 marks]Discuss various ways to prevent of EL in our JSP page.
[7 marks]What are the differences between execute, executeQuary and executeUpdate.
[7 marks]Explain Servlet Life Cycle with example and diagram.
[7 marks]What is a cookie? How will you maintain session using cookies?
[7 marks]Explain the steps to access the database using servlet.
[7 marks]What do you mean by event listeners? Explain any 4 event listeners.
[7 marks]What are status codes? Explain its different categories? How can a status code be set in a response?
[7 marks]Write down steps for JDBC with example. Give the name of the JSP directives. Explain important attributes of <%@page%>
[7 marks]07 (page directive) with example.
[ marks]Define expression language. Discuss its implicit objects.
[7 marks]Explain the required steps for implementing MVC using request dispatcher with example code.
[7 marks]Explain <jsp:useBean>, <jsp:getProperty> and <jsp:setProperty> with suitable example.
[7 marks]Describe the use of getParameter(), getParameterValues() and getParameterNames() with suitable example.
[7 marks]Write down steps for creating filters in detail
[7 marks]Explain how can a JPEG file be generated in a servlet.
[7 marks]Explain the steps of how RequestDispatcher can be used for implementing MVC.
[7 marks]