Professional Documents
Culture Documents
Ex No:1
AIM
Algorithm
• Circle
<area shape="circle" coords="0,0,82,126" href="sun.htm"
alt="Sun"
• Rectangle
<area shape="rect" coords="0,0,82,126" href="sun.htm"
alt="Sun"
• Poly
<area shape="poly" coords="0,0,82,126" href="sun.htm"
alt="Sun"
AIM
Algorithm
• With the GridLayout you specify the number of rows and columns.
• Then the components are added from left to right.
• When the row becomes full, the next row is started.
• To increase and decrease the size of the window.
• In this case, you will see the sizes changing for the components instead of the
positions, as you saw with the FlowLayout.
• The format of the constructor is (last 2 parameters are optional).
• GridLayout(int rows, int cols, int horizontal_gap, int vertical_gap)
• Test modifying the parameter list from
• GridLayout nature = new GridLayout(3, 3, 10, 10);
to
AIM
Client Side Scripts for Validating Web Form Controls using DHTML
Algorithm
• The form will include one text field called "Your Name", and a submit button.
• Validation script will ensure that the user enters their name before the form is sent
to the server.
• Open this page to see it in action.
• Try pressing the Send Details button without filling anything in the "Your Name"
field.
• You might like to open the source code for this form in a separate window
• the page consists of a JavaScript function called validate_form() that performs the
form validation, followed by the form itself.
Ex No:4
AIM
Program to invoke servlets from HTML Form
Algorithm
AIM
Program to invoke servlets from Applet
Algorithm
AIM:
Write programs in Java to create three-tier applications using JSP and Databases
for conducting on-line examination for displaying student mark list. Assume that student
information is available in a database which has been stored in a database server.
PROCEDURE:
AIM:
Consider a case where we have two web Services- an airline service and a travel
agent and the travel agent is searching for an airline. Implement this scenario using Web
Services and Data base.
PROCEDURE:
AIM:
PROCEDURE:
AIM:
PROCEDURE: