Professional Documents
Culture Documents
1
Q1. What are the advantages of JSP over Static HTML? Also Explain lifecycle of a JSP
Q2. Explain the Directory structure of JSP with the help of appropriate example.
Q3. Write a program to access database using Servlet.
Q4. Create simple registration form in Servlet.
Q5. Example to Connect Java Application with Oracle database.
Assignment-3.2
Q1. Write about JSP declaration, JSP directives and JSP Scriptlets?
Q2. Write a note on JSTL. Also discuss JSP include tag and page tag?
Q3. Write a program can serve as a template when you need to create your own JDBC
Q4. Write source code structure of a Servlet to print "Hello World".
Q5. Write Servlet program to handle input given by web browser using get method.
Assignment-3.3
Q1. Explain the Directory structure of JSP with the help of appropriate example
Q2. Write about JSP declaration, JSP directives and JSP Script lets?
Q3. Write a Servlet program to handle input given by web browser using post method.
Q4. Write a Servlet program to handle input given by web browser for checkbox button.
Q5. Write HTTP Header Response Example
Assignment-3.4
Q1. Explain life cycle of a Java Servlet with each method explained in detail.
Q2. What is MVC Architecture? Explain its relevance in programming.
Q3. Write a program clearly explaining the life cycle of a Servlet.
Q4. Write a program to create a log in form without using database.
Q5. Write a program to store the name of the user using cookies object and accessing it in
another Servlet.(Session tracking using cookies) (2)
Assignment-3.5
Q1. Mention all the main differences between CGI Scripts and Servlet.
Q2. How web container handles Servlet Request?
Q3. Write a program clearly explaining the life cycle of a Servlet.
Q4. Write a program to store the name of the user using hidden form fields.
Q4. Write a program to store the name of the user using URL re-writing. (3)
Assignment-3.6
Q1. Explain life cycle of a Java Servlet with each method explained in detail. (2)
Q2. Differentiate: (2)
Get and Post Method.
GenericServlet and HttpServlet.
Q3. Write a program to store the name of the user using HTTP session. (3)
Q4. Write a program to create a log in form without using database. (2)
Q5. Explain Servlet chaining using send Redirect and also a write a program for it. (3)
Assignment-3.7
Q2. Write Servlet program to handle input given by web browser using get method.
Assignment-3.10
Q1. Write Servlet program to handle input given by web browser using post method.
Q2. Write Servlet program to handle input given by web browser for checkbox button.
Assignment-3.11