Write a java servlet to validate the data

Assignment Help JAVA Programming
Reference no: EM13336635

Task

Complete the following tasks for an online hotel reservation system:

Task 1:

Write relevant JSP code to generate a registration page for an online hotel reservation system. Your registration page may include different interface components (text fields, text areas, list boxes, radio buttons, buttons, etc.). You may take all typical information needed for a hotel registration as an input from the customer, e.g. customer no (if any), first name, family name, address (may use multiple lines to take details), telephone, sex, date/duration of stay etc.

Task 2:

Write a Java Servlet to validate the data submitted through the above registration page. If the required fields are empty relevant error messages should be displayed on the same registration page.

Task 3:

If the form is complete the Java Servlet should send a redirect to a JSP page that confirms the registration of the customer.

Rationale
This assignment is designed to ensure that students have setup the software correctly on their own computer. This assignment would ensure students' completion of topics Introduction to serverside applications, Web forms and CGI, Java Servlets, Session management etc. Moreover this assessment would achieve following learning objectives:

be able to define a web based information system (WBIS) and differentiate between such systems and conventional web sites;
be able to design a small WBIS using elements from the disciplines of web design, database design, software engineering and object modelling;
be able to develop a small WBIS using HTML forms, Java Servlets and cookies;

Reference no: EM13336635

Questions Cloud

What is the relative solubility of benzoic acid : What is the relative solubility of benzoic acid in water and methylene chloride?
What is the horizontal force acting on the puck : An air puck of mass m1 = 0.24 kg is tied to a string and allowed to revolve in a circle of radius R = 1.0 m on a frictionless horizontal table. What is the horizontal force acting on the puck
How did the morphology of horse limbs change in size : 1.what morphologic characteristics of Hyacotherium suggest that it lived in thick, closed canopy forest 2. How did the increase in grasslands beginning in the miocene influence the morphology of horse teeth and jaw
Explain pure water at room at room temperature : Which of the following is the [OH-] in pure water at room at room temperature? A) 1.0 x 10^-14 M B) 1.0 x 10^-7 M C) 1.0 x 10^7 M D) 1.0 x 10^14 M
Write a java servlet to validate the data : Write a Java Servlet to validate the data submitted through the above registration page. If the required fields are empty relevant error messages should be displayed on the same registration page.
How fast was the car moving when it hit the van : You are investigating an accident where a 1500 kg car that was parked without its emergency brake on rolled down a hill with a slope of 8 degrees a distance of 150 m, How fast was the car moving when it hit the van
What must be angle of the prism such that the light suffers : monochromatic light is normally incident on one face of a prism with a right triangle for a base. the light travels through the prism such that it strikes the hypotenuse of the triangle from inside.
Explain acceleration are present in an ultracentrifuge : How many times g of acceleration are present in an ultracentrifuge with a rotation frequency of 45000 rpm and a distance of 6 cm from the center of rotation. Note: the quantity omega is the angular frequency
Arrange the spectrochemical series of vo2+ : Arrange the spectrochemical series of VO2+

Reviews

Write a Review

JAVA Programming Questions & Answers

  Develop java code to compute monthly rent for housing units

Develop a java code that computes monthly rent for 3 housing units namely Bungalows,Apartments and hostels. All housing units have got size,color and monthly rental rate.

  Class that stores information about a report

Create a class that stores information about a report containing multiple currency transactions in multiple currencies. This includes the name of the report and each of the transactions that occurred.

  Multiplexors whose control bit allows you

Design a 4-bit up/down counter that has 2 to 1 multiplexors whose control bit allows you to select between one of two counting modes up or down

  In light of wrestling with ethics

In light of "Wrestling With Ethics" and other research/articles that you are able to draw upon, should profitability drive social responsibility? Be sure to support your discussion question responses with evidence from the readings and/or additional ..

  What is the minimal total weight of cylinders

A scuba diver uses a special equipment for diving. He has a cylinder with two containers: one with oxygen and the other with nitrogen. Depending on the time he wants to stay under water and the depth of diving the scuba diver needs various amount of ..

  Client server chat system

Threading and GUI design using Java's network library, threading system, and swing user interlace libraries to implement a basic chat client and saver system. Thc system will allow multiple. remote users to send and receive messages across the net..

  Write a program that reads in a list of numbers from a file

write a program that reads in a list of numbers from a file and adds up all those numbers. You may hard code in the name of the file, allowing the user to input the filename is not required

  Design and implement a sorting algorithm

Your task is to design and implement a sorting algorithm and running time grows as a linear function of the array

  If the number on two of the players'' four cards

If the number on two of the players' four cards is the same and the number on the remaining two cards is also the same yet the number on all four cards in not the same then the player gets their bet back and in addition wins 22 chips for each chip th..

  Create a book class

Create a Book class. In addition to properties of author and isbn, with setters/getters, the Book should override Object's base method "boolean equals(Object)" and have a "boolean validate()" method.

  Create a gui version of the game mini sudoku.

Each row has the numbers 1 to 6,Each column has the numbers 1 to 6,Each group of 2 rows by 3 columns also has the numbers 1 to 6.

  Document the current application describing major classes

Add to the Project Management tool the different planned activities needed to implement the changes to the solution and document the current application describing the major classes used by the application.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd