This document contains important questions for a CIE exam on servlets and JSPs. There are 21 multiple choice questions covering topics like servlet request handling, session tracking, HTTP status codes, servlet life cycle, cookies, JSP tags, invoking Java from JSPs, and distinguishing between servlets and JSPs.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
61 views1 page
CIE - I-Important Questions
This document contains important questions for a CIE exam on servlets and JSPs. There are 21 multiple choice questions covering topics like servlet request handling, session tracking, HTTP status codes, servlet life cycle, cookies, JSP tags, invoking Java from JSPs, and distinguishing between servlets and JSPs.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
Vivekananda College of Engineering & Technology CIE
[A Unit of Vivekananda Vidyavardhaka Sangha Puttur ®] Imp QP
Affiliated to Visvesvaraya Technological University MCA Approved by AICTE New Delhi & Recognised by Govt of Karnataka 20/12/2022
Note: CIE-I (2 Modules Included:Module-1 Servlet and Module-2:JSP)
IMPORTANT QUESTIONS for CIE-I
Q No Question Mark 1. Briefly explain HTML Building Utilities. 5 2. Briefly explain handling client requests in form data. 10 3. Briefly explain how to generating server response. 5 4. Explain Session Tracking with a program example. 10 5. Explain complete structure of Servlet Life Cycle. 10 6. List and explain any six methods of HttpServlet Request class. 5 7. Explain with a program example how to handling cookies. 10 8. Write a servlet program to check whether the session is new or old. 5 9. Narrate the major range of http status codes along with their purpose. 5 10. Write a java servlet program to demonstrate auto web page refresh 5 by displaying current date and time. 11. Explain Single Thread Model Interface. 5 12. What is the need for JSP, benefits and advantages of JSP over competing 10 technologies? 13. Explain different types of JSP tags with an example for each. 10 14. Briefly explain the following: 10 i. Invoking Java code with JSP Scripting elements ii. Creating template text 15. Explain JSP @page attributes. 10 16. Write a JSP program which uses <jsp:forward> and <jsp:include> action 10 tags. 17. Explain the following action tags with suitable example code: 5 i. <jsp:getProperty> ii. <jsp:setProperty> 18. Explain how to invoking java code from JSP. 5 19. Briefly explain JSP Expression with a suitable example code. 5 20. Briefly explain the concept Request String in JSP. 5 21. Distinguish between Servlet and JSP. 5
Nehru Nagar, Puttur - 574 203, DK, Karnataka State – INDIA.