Beruflich Dokumente
Kultur Dokumente
UNIT I
.
1. Design a Student Information site form using all the tags in HTML showing
a) Registration
b) Time table
2. Design a site for e-voting which includes
a) Voter Registration
b) Details of candidates with symbols
c) Submit vote
3. Design a Catalogue Page using all types of Cascading Style sheets.
4. Create an Image-map for Indian states showing the details correspondingly on hover.
5. What is box type model in CSS? Implement it on a web page for weather forecast?
6. How do you use links? Show the different types of links used along with the styles which
can be used on them
7. Add a table to your web page. Try different formatting options-how does the table look if
it doesnt have a border, for instance?
8. a) How does Java Script create HTML pages on the fly?
b) Create an HTML page which includes a simple form. Write a script to extract the data
from the form when the submit button is clicked. Display the extracted data in a new
document.
9. Write a Script that outputs HTML Text to display an HTML Table of the binary equivalent
of the decimal number in the page 1 to 256.
10. Write a script that outputs an HTML document of square, oval, diamond, arrow using
asterisks(*).
11. Write a Script Program that finds the smallest element of several elements. Assume that the
first value read specifies the number of values to be input from the user.
12. Write a script to create a new browser window and display some text in that window. Put
your script inside a suitable HTML page and test it.
13. Define an Object. Explain the various objects that are used in the java script.
UNIT II
1. a) Create an XML document which holds a diary of appointments. You should include day,
date and time of
events, and details of each event and of other people who may be
involved. Load the XML file into a parser such as Microsoft Internet Explorer 5 to check if it
is well formed.
b) Create a Document Type Definition for your diary.
2. Create an xml document for Library? Use XSLT to implement multiple styles on the
document.
3. a) Write an XML schema that provides tabulated information related to expected height(in
cms) and weight(in kgs) for both male and female separately for the age groups starting
with 5-10 years, 10-15 years, 15-20 years, and so on.
b) Give the merits and demerits of DTDs in XML.
4. Design an XML schema for hospital information management. Include every feature available
with schema.
5. What is XSL? Give a simple XSL Example.
6. Differentiate between XML and HTML.
7. Write short notes on following:
a) XML parsers
b) XSL
15. Explain about the swing components. Explain about the JFrame with an example.
UNIT III
1. Take the Tick Tock Bean available in BDK, build an application which controls the Colors Bean. Develop the
necessary code to exhibit the bound properties of java beans with the above mentioned beans.
2. Write about the following beans with an example:
a)
b) Button Beans
c)
3. What is a Java bean? Java bean is a reusable platform-neutral software component-justify this statement.
4.
a)
b) Explain the significance of Enterprise Java Beans in the present day backend business code.
5.
6.
Applet Initializer
b) BeanInfo
c) Customizer
d) Design mode.
7.
Explain reading and setting properties using Java Bean components in JSP pages
8.
a)
i.
Parameter Descriptor
b) Demonstrate with a suitable example the connecting of beans with events in the Bean Box.
10. a)
What is MIME? What is meant by MIME types of file? Which is the method that can return the MIME
type of file?
b) Explain the interface that enables Servlet to log events and access information about their environment.
c)
11. a)
12. a)
Create a HTML form with three input fields first name, last name and e-mail. Pass these values to a
Servlet. In the Servlet, verify all input fields are not null and display them back to client.
b) Give the signature of a method which is used to read bytes from the stream for a Servlet. Explain its usage
13. Write a HTML that shows the following list:
C,
C++,
JAVA,
C#.
Define a form that contains a select element and submit button. If the user selects the java and press submit
the web page displays The selected Language is Java. Write a Servlet program using Http Servlet and do
Get method
14. a)
UNIT IV
1.
a)
Develop a JSP for a news channel to conduct public opinion poll on any topic. Users will respond through
yes/no answer. Later display the results in percentages.
3.
a)
a)
Develop a JSP to accept users first name and then welcome the user by name.
a)
6.
a)
Explain the mechanism to include resources dynamically and to forward request to other JSPs?
8.
Create a login form for a mail server and JSP to validate and to perform appropriate actions.
9.
a)
b) Give a detail note on JSP action used for Java Bean manipulation.
10. Explain the anatomy of a JSP page.
11. Java server pages simplify the delivery of dynamic web content. Justify this statement with a help of
example program.
12. a)
Develop a JSP to accept users first name and then welcome the user by name.
Develop a JSP to keep track number of users and display a message You are nth visitor where n is the
number of the user.
UNIT V
1.
a)
Explain with a suitable example how JSP deals with runtime errors.
3.
a)
b). Give a detail note on JSP action used for Java Bean manipulation.
4.
5.
6.
7.
Perform insert, delete, update, retrieve operations into database using forms of student information system
8.
Perform insert, delete, and update operations into database using forms of e - voting system
9. Write a program that lists all books and authors for those books from technical library database. [Assume
database schema].
10. Perform insert, delete, update, retrieve operations using connection pooling.
11. Write a note on:
a)
b) CreateStatement method
c)
Primary Key
d)
CachedRowset.
b) Driver Manager
c)
SQL query
d) Order by clause.
Implicit JSP Objects, Conditional Processing Displaying Values Using an Expression to Set an
Attribute, Declaring Variables and Methods Error Handling and Debugging Sharing Data
Between
JSP pages, Requests, and Users Passing Control and Date between Pages Sharing Session and
Application Data Memory Usage Considerations
Database Access Database Programming using JDBC Studying Javax.sql.* package Accessing a
Database from a JSP Page Application Specific Database Actions Deploying JAVA Beans in a
JSP
Page
TEXT BOOKS:
1. Web Programming, building internet applications, Chris Bates 2nd edition,
WILEY Dreamtech (UNIT 1,2)
2. The complete Reference Java 2 Fifth Edition, Patrick Naughton and Herbert Schildt., TMH
(Chapters: 25) (UNIT 2,3)
3. Java Server Pages Hans Bergsten, SPD OReilly (UNITs 3,4,5)
REFERENCE BOOKS:
1. Programming world wide web-Sebesta, Pearson
2. Core SERVLETS ANDJAVASERVER PAGES VOLUME 1: CORE
TECHNOLOGIES, Marty Hall and Larry Brown Pearson
3. Internet and World Wide Web How to program, Dietel and Nieto PHI/Pearson.
4. Jakarta Struts Cookbook, Bill Siggelkow, S P D OReilly for chap 8.
5. Murachs beginning JAVA JDK 5, Murach, SPD
6. An Introduction to web Design and Programming Wang-Thomson
7. Professional Java Server Programming, S.Allamaraju and othersApress (dreamtech).
8. Java Server Programming ,Ivan Bayross and others, The X Team,SPD
9. Web Warrior Guide to Web Programming -Bai/Ekedaw-Thomas
10. Beginning Web Programming-Jon Duckett WROX.
11. Java Server Pages, Pekowsky, Pearson.
12. Java Script, D.Flanagan, OReilly,SPD.