It2357 Lab Manual
It2357 Lab Manual
Lab Manual
om
.c
Prepared by
w
w
.re
jin
pa
ul
K.Poornimathi
(SL/IT)
G.Rajesh Kannan
(Lecturer /IT)
om
.c
ul
Roll no
.re
jin
pa
Department
Section
w
w
Phone number
Blood Group
Fathers Name
Text
ul
Textarea
.c
Button
om
.re
jin
pa
Checkbox
Radio Button
Menus
w
w
om
ALGORITHM:
.c
.re
jin
pa
ul
w
w
Step 5: Create html files for each and every hot spots the
user will select.
4.CREATING FRAMES
AIM:
.c
ALGORITHM:
om
To create the several frames using HTML and display to the web
browser.
ul
.re
jin
pa
<frameset cols=50%,50%,50%>
Step 2:Insert the many html files using frame tag and src
attributes.Use the following tag and attributes
<frame src=example.html>
w
w
om
ALGORITHM:
frames
.c
ul
.re
jin
pa
w
w
AIM:
om
To design the scientific calculator and make event for each button
using java script.
.c
ALGORITHM:
Step 1: Create a title for the web page and declare the
ul
.re
jin
pa
function.
Step 3:
operations.
w
w
7.CREATING CLOCK
AIM:
To design web page to create a real time clock with a timing event
using java script event handling mechanism.
om
ALGORITHM:
Step 1: Create a title for the web page and declare the
.c
ul
function.
.re
jin
pa
w
w
om
.c
The form will include one text field called "Your Name", and a
ul
submit button.
Validation script will ensure that the user enters their name
.re
jin
pa
You might like to open the source code for this form in a
separate window
w
w
om
To create the DOM code for changing the source of the image.
ALGORITHM:
Step 1: Create a title for the web page and declare the
.re
jin
pa
ul
function.
.c
function change().
w
w
9.APPLET
AIM:
om
b.
.c
.re
jin
pa
c.
ul
ALGORITHM:
Step 1: Import all necessary packages and classes
Step 2: Define a class that extends applet and implements
action listener and item listener
Step 3: Declare an array of buttons to set colors, two
checkboxes for foreground and background colors
w
w
10.REGULAR EXPRESSIONS
om
AIM:
To display the area code for the given phone number using java
script regular expressions.
Step 1: Create a title for the web page and declare the
ul
.c
ALGORITHM:
.re
jin
pa
w
w
om
.c
ul
.re
jin
pa
CYCLE-II
w
w
SERVER SIDE
PROGRAMMING
om
.c
ul
ALGORITHM:
.re
jin
pa
Client:
Server:
w
w
and
Import javax.servlet.http.*;
import javax.http.*;
Step 2:create the class that extends to the HttpServlet
class
Step 3:Use the doGet(req ,res)with two parameter that
throws IOException,ServletException.
om
1.b.SERVER INFORMATION
AIM:
.c
.re
jin
pa
Server:
ul
ALGORITHM:
and
Import javax.servlet.http.*;
import javax.http.*;
w
w
AIM:
om
1.c.CREATING SESSION
.c
To write the servlet program to create the session and session id.
.re
jin
pa
Server:
ul
ALGORITHM:
and
Import javax.servlet.http.*;
import javax.http.*;
w
w
.c
AIM:
om
1.d.ADDING COOKIES
ul
To write a hml coding to create and add cookie to the web server.
ALGORITHM:
.re
jin
pa
Client:
w
w
Server:
and
Import javax.servlet.http.*;
import javax.http.*;
Step 2:create the class that extends to the HttpServlet
class
Step 3:Use the doGet(req ,res)with two parameter that
throws IOException,ServletException.
.c
Aim:
om
ul
Algorithm:
w
w
.re
jin
pa
om
.c
.re
jin
pa
Algorithm:
ul
Aim:
To create a simple Bean to display the message.
w
w
om
.c
AIM:
ul
.re
jin
pa
ALGORITHM:
Client:
Step1: In index.html on the client side declare the
contents that you like to transfer to the server using
html form and input type tags.
Step2: create a submit button and close all the included
tags.
SERVER:
Step 1: Import all necessary packages
w
w
om
.c
AIM:
.re
jin
pa
ul
Servlet:
w
w
om
w
w
.re
jin
pa
ul
.c
om
.c
ul
AIM:
.re
jin
pa
To write the JSP program to create the custom tag library for
calculating area of triangle.
ALGORITHM:
Server:
and
Import javax.servlet.http.*;
w
w
import javax.http.*;
import javax.servlet.jsp.*;
.c
om
AIM:
.re
jin
pa
ul
5. use Javascript to process any response from the server and display the
w
w
result
om
.c
5.WEB SERVICES
AIM:
.re
jin
pa
ul
a) Develop webservices
b) Test the webservice
w
w
om
.c
ul
.re
jin
pa
w
w
CYCLE-III
REPRESENTATION OF DATA
om
.c
ul
AIM:
To write a XML code to validate the XML elements with XML DTD.
.re
jin
pa
ALGORITHM:
w
w
om
.c
ul
.re
jin
pa
To write a XML code to vdispaly the XML elements with XML CSS.
ALGORITHM:
w
w
om
.c
ul
AIM:
.re
jin
pa
w
w
om
.c
ul
.re
jin
pa
AIM:
To write a XML code to validate the xml elements using XML DOM
Parser.
ALGORITHM:
w
w
om
.c
ul
.re
jin
pa
AIM:
To write a XML code to validate the xml elements using XML SAX
Parser.
ALGORITHM:
w
w
om
.c
ul
.re
jin
pa
w
w
om
.re
jin
pa
.c
ul
w
w
om
.c
ul
.re
jin
pa
w
w