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

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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