2080 2

Advanced Java Programming208010 marksServlet vs JSP, JSP Access Model, JSP Syntax

How does JSP differ from Servlet and show the life cycle of Servlet? How do you create and read the cookies and session using JSP? Illustrate with an example.

How does JSP differ from Servlet and show the life cycle of Servlet? How do you create and read the cookies and session using JSP? Illustrate with an example.[10]

--- Feature Servlet JSP (JavaServer Pages) --------- Nature Java class that generates HTML HTML page that embeds Java code Extension .java (compiled to .class) .jsp (auto-compiled by container) Writing Style HTML written inside out.println() statements Java code written inside <% % tags Compilati...

Up nextDescribe any two types of Layout manager. Using swing components, design a form with three