Display the values that were typed in to the form

Assignment Help JAVA Programming
Reference no: EM13311941

Overview

This assignment will focus on creating Java Server Pages (JSP) and deploying them onto a Java Servlet Container. 


Server Info

The server for this assignment is the following:

course-server.exdsyslab.net

Each of you has an account on that server.  You should be able to SSH to the server. Use your UTAD username as both login AND password (e.g., login: johndoe2, password: johndoe2).  The first time you login, you will be asked to change your password.  After you change your password, you will have to login again using your new password.

Please let me know ASAP if you have problems logging into the server.

Deployment
In your home directory, there is a directory named "webapps".   Create a directory named
"cset4100(hw1" inside the webapps directory.   You will place all your JSP pages in the
"cset4100(hw1" directory. 

From your home directory:

  cd webapps
  mkdir cset41002hw1

Note: For security reasons the contents of your webapps directory will not be visible from the web.  So you must navigate to your JSP pages using the full URL as I have specified below.

Part 1 D Hello World JSP
For the first part of this assignment, you will deploy a simple "hello world" JSP page.  This page should display a simple hello world message.  In addition, your JSP page should look for a parameter in the request (GET) named "user".  If the user parameter is present, it should read
the name from the request and display a greeting to the user.  If the parameter is not present, it should display a generic "Hello World" message.

I will use the following URL to navigate to your JSP page:
https://course-server.exdsyslab.net:8080/~<your_UTAD_ID>/cset4100-hw1/hello.jsp
  and
https://course-server.exdsyslab.net:8080/~<your_UTAD_ID>/cset4100-
hw1/hello.jsp?user=<name>


Part 2 - HTTP Form (POST)

For this part of the assignment you will create a form ("form.html") and a JSP page to process the form and display the results.  The form should have two text fields: username and email.  When the form is submitted, it should be handled by your JSP page.  The JSP page should display the values that were typed in to the form.

I will use the following URL to navigate to your form:
https://course-server.exdsyslab.net:8080/~<your_UTAD_ID>/cset4100-hw1/form.html

Reference no: EM13311941

Questions Cloud

Calculate the total drilling cost : Determine the drill metres required to achieve a production rate from grade control blasting and design the drilling/blasting pattern showing hole diameter, hole depth, burdens, spacings, explosive types, primers and initiation system and indicate ..
Calculate the initial and final kinetic energy of the system : A student sits at rest on a piano stool that can rotate without friction. The moment of inertia of the student-stool system is 3.5 kg*m^2. Calculate the initial and final kinetic energy of the system
What are the advantages of nuclear power : Describe fusion. What role does a tokamak play in a fusion reactor? What are the advantages of nuclear power
Explain since ammonia is better proton acceptor than water : Since ammonia is better proton acceptor than water, the ionization of acids is relatively enhanced in liquid ammonia. For example, acetic acid is a strong acid in liquid ammonia. part( a)Estimate [NH4+] (mol/L) in pure (i.e. neutral) liquid ammoni..
Display the values that were typed in to the form : This assignment will focus on creating Java Server Pages (JSP) and deploying them onto a Java Servlet Container.
Type of appraisal form : Type of Appraisal Form
What are the magnitude and the direction of electric field : A semicircle of radius a is charged.positive charge +Q is distributed uniformaly around the left half of the semicircle, what are the magnitude and the direction of the electric field
Explain the reaction of methane and water : The reaction of methane and water is a way to prepare hydrogen according to CH4 (g) + H2O = Co2 (g) + H2 (g) a) If 995 g of CH4 reacts with 2510 g of water, how many moles of reactants and products are there when the reaction is finished
How do the object and image heights compare : An object is five focal lengths from a concave mirror. How do the object and image heights compare

Reviews

Write a Review

JAVA Programming Questions & Answers

  Display the earliest and latest dates that appear in a data

display the earliest and latest dates that appear in a data file, and the number of times that they appear. I have already parsed all of the dates from their original string to their corresponding int values.

  Create java program to simulate the operation of a bank atm

write a Java program to simulate the operation of a bank ATM (cashpoint) system for payment and deposit on an account. In order to make the system fairly simple there is only one bank account and there are 5 cards that can be used to deposit or wi..

  Create a data set with 100 integer values.

Create a data set with 100 integer values. Create a program that uses the division method of hashing to store the data values into hash tables with table sizes of 7,,51 and 151. Use the linear probing method of collision resolution. Print out the ..

  Java program for creating a order menu

Assume your consulting company has been hired to construct a program that meets the following requirements.

  Write a complete java program assuming that the variables gp

Write a complete java program Assuming that the variables gpa, deanList and studentName have been declared, you should read in the studentName and gpa from keyboard. Write an if statement that adds 1 to deansList and prints studentName to the standar..

  Java program that implements an algorithm known as a bubble

writing a simple Java program that implements an algorithm known as a Bubble Sort. A Bubble Sort is a simple sorting algorithm that takes an unsorted array of elements and sorts them into ascending order.

  Create java applet to input miles driven and gallons used

Create the Java applet which will input miles driven and gallons used (both as integers) for each tankful. Program must compute and display miles per gallon obtained for each tankful.

  Design and implement a small and simple email server

Design and implement a small and simple email server

  Class named stock to model a stock

Write a class named Stock to model a stock. The properties and methods of the class are shown in Figure 6.22. The metho changePercent computes the percentage of the change in the current vs. the previous closing price.

  String as its parameter and returns the length

Write a method named longestWord that accepts a String as its parameter and returns the length of the longest word in the string.A word is a sequence of one or more non-space characters (any character other than the space character).

  What value would be returned from call to its size() method

If a collection stores 5 objects, what value would be returned from a call to its size() method?

  Difference between the two following statements

What exactly is the difference between the two following statements and which is preferred, please provide details: 1) frame.setSize(400, 300); // Set JFrame Size

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