QuestionQuestion

In this project you will create a Java web application which includes two pages, one of them being a Java Server Face page, and one - Java Server Page.

1)    The first page will be the Registration JSF page.

The page should contains the drop-down menu with at least dour different salutation.
Validate user input eliminating the empty fields (use JSF validators for the textfields only).
Store the input data in a JavaBean and share the bean via session object. On the click event of the “register” button the page should redirect processing to the RegResult Java Server Page (not a JSF page).

2)    The Confirmation JSP should retrieve the data from the bean and generate the table displaying the registration results (this page should be implemented in the JSP technology, not JSF).

In the Confirmation page include the link to navigate to the Registration page.

Extra: allow registration of up to 5 users.

Solution PreviewSolution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

public class store {

// Vector<user> data = new Vector<>(5);
    private ArrayList<user> data = new ArrayList<user>();
    /**
    * Creates a new instance of store
    */
    public store() {
       // data.clear();
    }

    public String addData(user users) {
       user u = new user();
       // u = users;
       u.setAge(users.getAge());
       u.setEmail(users.getEmail());
       u.setFirstName(users.getFirstName());
       u.setLastName(users.getLastName());
       u.setSalut(users.getSalut());
       data.add(u);
    //   data.add(users);
       return "index.xhtml";
    }...

By purchasing this solution you'll be able to access the following files:
Solution.zip.

$108.00
for this solution

or FREE if you
register a new account!

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

Find A Tutor

View available Java Programming Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.

Decision:
Upload a file
Continue without uploading

SUBMIT YOUR HOMEWORK
We couldn't find that subject.
Please select the best match from the list below.

We'll send you an email right away. If it's not in your inbox, check your spam folder.

  • 1
  • 2
  • 3
Live Chats