L. J. Institute of Engineering & Technology S.G. Highway, Ahmedabad-382210 ME IT Department Question Bank Advance Web Technology
L. J. Institute of Engineering & Technology S.G. Highway, Ahmedabad-382210 ME IT Department Question Bank Advance Web Technology
Advance Web
Technology
Subject Code:
170703
Branch &
Semester:
ME-SEM-1-IT
Fro
m:
To:
Aug-13
Dec-13
SR. NO.
1
2
3
4
5
6
7
8
9
1
0
1
1
1
2
1
3
1
4
1
2
3
1
2
3
4
SUBJECT
Explain the alert(), prompt() and confirm() functions of java script with appropriate example. Also
mention difference between alert() and confirm() functions.(01-13)
Design a HTML web page for registering student in Gujarat Technological Universitys online
examination portal. Web page should have minimum four different types of html control. Also include
external style sheet to design the web page. (01-13)
Write a Java Script function to dynamically create number of table in Html document.(07-11)
7
7
9
7
7
7
7
2
5
1
2
3
4
5
6
7
8
9
1
0
1
1
1
2
1
3
1
4
1
5
1
6
1
7
1
8
1
9
2
0
2
Briefly explain the J2EE architecture along with the container functions(07-11)
Understanding Servlet programming:
What is HttpSession Object?. Develop a servlet for Counting the Numbers and Make use of
HttpSession object and retain the Number counting Count using Session Object(02-11)
What is Difference between ServletConfig Object & ServletContext? How ServletContext Object &
HttpServletRequest Object are used to forward & include to make use other JSP in either Servlet or
JSP Page.(02-11)
What is difference between TagSupport class and BodyTag class, show it by Program Segment
example having sample method code for both class(02-11)
XMLHttpReqest.(02-11)
Which are Events available for Servlet life Cycle? Write a code for handling each event displaying
message such from <event name> & Event Handler Name with using Correct Servlet API
listeners(02-11)
Write and explain Servlet API hierarchy with various classes/interfaces involved in
it. Also explain Servlet life cycle.(07-12)
Enlist various methods available for session/state management using Servlet.
Explain any one of them with suitable example.(07-12)
Give differences between HttpCookie and HttpSession(07-12)
Write a Servlet program to display current date and time on server.(07-12)
What is deployment descriptor file? Explain some important tags of it.(06-13)
Write a program to create HTML form to accept one number. When user submits the form, a Servlet is
called which checks whether submitted number is odd or even and shows appropriate message to user.(0613)
Write a program to create HTML form to accept user name and password. When user submits form, a
Servlet is called which saves these details in cookie. And shows contents of created cookie.(06-13)
Explain different types of Servlet Events. Develop an event listener class which
prints session variable name and value whenever any variable is added or
removed from the session.(02-12)
Explain the init(), service() & destroy() methods in servlet life cycle. Which method is more suitable for
creating database connection object? Justify your answer.(01-13)
Design the HTML login page for the student to login into Gujarat Technological Universitys online
examination portal. Assume there are three servlets named StartExam.do, ViewResult.do and Logout.do
respectively. Create, maintain and invalidate HTTP session object in given web portal.(01-13)
What are the different types of events and event handler in J2EE web container? Explain the
ServletContext life-cycle event handling.(01-13)
HttpSession, PageContext.(07-11)
Prepared By: JIGNESH VANIA
(LJIET)
7
7
7
1
7
7
7
7
7
7
3
3
1
2
2
2
3
2
4
2
5
What is RequestDispatcher Object how it is used to forward request to other JSP page or Servlet.(07-11)
EAC
H
7
4
5
6
7
8
9
1
0
1
1
1
2
1
3
1
4
1
5
1
Using JSTL ForEach loop tag develop a Table of Number web page in HTML Table(02-11)
Develop Student JavaBean having AddStudentInfo Method for adding data and
DisplayStudentInfo Method and write JSP page having StudentForm using HTML Form and use
Student Javabean and display the Students Information using DisplayStudentInfo method of Javabean
in JSP Page(02-11)
JSP directives, Difference between include Directive & jsp:include tag, XML JSTL tags, Page Scope
in JSP, PageConext (02-11)
Explain Various SQL jstl Tag Library and show example program segment with correct syntax for
loading SQL table data into HTML table
Show various Core tags in JSTL library. And make use of core tags and develop
sample program fragment showing the comparing two number HTML user interface(02-11)
What is the JSP Expression Language? Give Sample examples of JSP-EL with correct syntax in JSP
page.(02-11)
Explain the Life Cycle of JSP page? And develop the JSP page showing message in web page for each
life cycle phase with life Cycle phase name separated by HR line in between each phase.(02-11)
What is Java Bean class? Explain the use of java bean in JSP with example.(07-12)
7
7
1
EAC
H
7
7
7
7
7
7
7
What is custom tag in JSP? Explain this concept with suitable example.(07-12)
What is JSTL? Explain various tag libraries in JSTL with tags in each library.(07-12)
Write a program to create HTML form which takes one number as input. When
form is submitted to JSP, the jsp should show the square of entered number.(0712)
Write a note on JSP life cycle.(06-13)
6
1
7
1
8
1
9
2
0
2
1
2
2
2
3
2
4
2
5
2
6
2
7
2
8
2
9
3
0
3
1
3
2
3
3
3
4
3
What are the JSP directives? Explain various directives with their attributes using
example code.(06-13)
What are the differences between Request parameter and Request attributes.
Show how to share a request attribute between two JSPs using example code.
(02-12)
Explain lifecycle of a JSP page.(02-12)
7
7
What are the JSP implicit objects? Explain various implicit objects with their scope 7
and usage.(02-12)
What are the differences between TagSupport and BodyTagSupport class? Give
an example of both and use the tag in JSP.(02-12)
Explain the three ways of including a JSP in another JSP with example code.Also
explain the differences between them.(02-12)
Explain various tags in SQL tag library. Give an example of loading database
table data in a HTML table.(02-12)
Explain various tags in XML tag library. Give an example of parsing and
displaying an xml file.(02-12)
What is the JSP Expression Language? Give Sample examples of JSP-EL with
correct syntax in JSP page(02-12)
Design the JSP page for Library due calculation with Enrollment No, Student Name, Book Name, Number
of days as fields in JSP page. Calculate and display required information along with the total amount to be
paid by student, in other JSP page using standard action <jsp:useBean>, <jsp:setProperty>,
<jsp:getProperty> only. Fine is to be calculated at rate of 50 Rs/per day basis.(01-13)
Explain the given attributes of JSP directives with example.
i) errorPage ii) import iii) file
Design the JSP page for Library due calculation with Enrollment No, Student Name, Book Name, Number
of days as fields in JSP page. Calculate and display required information along with the total amount to be
paid by student, in other JSP page using EL only (scriptlet/experssion are not allowed). Fine is to be
calculated at rate of 50 Rs/per day basis.(01-13)
Discuss the following JSTL tag in detail.
i) <c:choose> ii) <fmt:formatDate>(01-13)
Design the HTML web page for searching train with two textbox source station, destination station and
submit button. Design other JSP which displays all the trains from source to destination using SQL tags.
(01-13)
Explain various JSP implicit objects in detail.(01-13)
7
5
5
3
6
3
7
3
8
3
9
4
0
3
EAC
H
7
What is the difference between TagSupport and BodyTag Support class?. Explain with suitable example.
(07-11)
List various implicit objects in JSP. Explain with example code fragment(07-11)
JSF
1
2
3
4
4
5
7
7
7
7
7
7
What is Java Persistent? How Entity can be mapped to Java Object , show it using Object Relation
Mapping in Java Persistent API(02-11)
What is JPQL? Develop a Sample Application using JPQL for Student Information containing Student
name, students Marks Details(02-11)
Write a note on Java persistent API.(07-12)
Write a note on ORM (Object Relational Mapping)(07-12)
What is JPQL? Design sample application using JPQL Book information containing Book Name, Author
Name, Price, Publisher Name.(01-13)
What is Java Persistent? How entity can be mapped to Java Object, show it using Object Relation
Mapping in Java Persistent API.(01-13)
What is Java Persistent API? . Explain How an Object can be mapped to Relational Table In JPA?(07-11)
7
7
7
7
7
7
7