You are on page 1of 3

19ITR102

Ex. No: 04 RESUME REGISTRATION FORM USING JSP


27.09.2021

AIM:

To create registration form and get the values in JSP file and display it.

PROCEDURE:

 First create one registration form for getting details from user.

 Then create one JSP file to process data. Here get the data entered in html
page and display it. Then set the session for First name. And also check the
age is float or not, if float the throw Number Format Exception.

 To display error create new JSP file and connect it through page directive.

 Then create another one JSP to get form submitted time then include that
in registerprocess.jsp file using include directive.
PROGRAM:
REGISTER.HTML:
<html>
<head>
<title>REGISTER FORM</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-
scale=1.0">
<style>
th{text-align: left;padding: 10px;color:wheat; font-style:italic}
body{background-image: url(image53.jpg)}
</style>
</head>
<body style="background-color:bisque;">
<center>
<form action="registerprocess.jsp" method="post"
style="width:70%;background-color:wheat;box-shadow: 5px 5px 15px
black">
<Fieldset style="background-image:url(image47.jpg);">
<legend style="color:darkorange">Register Form</legend>
<table>
<tr>
<th>Enter First_Name : </th>
<th><input type="text" name="firstname"
style="width:248px;background:none;border:none;color:white;"><hr></th>
</tr>
<tr>
Thank you for using www.freepdfconvert.com service!

Only two pages are converted. Please Sign Up to convert all pages.

https://www.freepdfconvert.com/membership

You might also like