Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Java Expert


Home >> Java

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:
http://course-server.exdsyslab.net:8080/~/cset4100-hw1/hello.jsp
  and
http://course-server.exdsyslab.net:8080/~/cset4100-
hw1/hello.jsp?user=


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:
http://course-server.exdsyslab.net:8080/~/cset4100-hw1/form.html

Java, Programming

  • Category:- Java
  • Reference No.:- M9891256
  • Price:- $50

Priced at Now at $50, Verified Solution

Have any Question?


Related Questions in Java

Assessment socket programmingtaskwrite a java gui program

Assessment: Socket Programming Task Write a JAVA GUI program that would facilitate text chatting/exchanging between two or multiple computers over the network/internet, using the concept of JAVA socket programming. If yo ...

Project descriptionwrite a java program to traverse a

Project Description: Write a java program to traverse a directory structure (DirWalker.java) of csv files that contain csv files with customer info. A simple sample in provided in with the sample code but you MUST will r ...

Overviewyou are required to use java se 80 and javafx to

Overview You are required to use Java SE 8.0 and JavaFX to develop a Graphical User Interface (GUI) for the FlexiRent rental property management program created in Assignment 1. This assignment is designed to help you: 1 ...

Assessment database and multithread programmingtasktask 1

Assessment: Database and Multithread Programming Task Task 1: Grade Processing University grading system maintains a database called "GradeProcessing" that contains number of tables to store, retrieve and manipulate stud ...

Assignment taskwrite a java console application that allows

Assignment task Write a java console application that allows the user to read, validate, store, display, sort and search data such as flight departure city (String), flight number (integer), flight distance (integer), fl ...

Operating systems assignment -problem 1 sharing the bridgea

Operating Systems Assignment - Problem 1: Sharing the Bridge A new single lane bridge is constructed to connect the North Island of New Zealand to the South Island of New Zealand. Farmers from each island use the bridge ...

Assignment taskwrite a java console application that allows

Assignment task Write a java console application that allows the user to read, validate, store, display, sort and search data such as flight departure city (String), flight number (integer), flight distance (integer), fl ...

Assignment - method in our madnessthe emphasis for this

Assignment - "Method in our Madness" The emphasis for this assignment is methods with parameters. In preparation for this assignment, create a folder called Assign_3 for the DrJava projects for the assignment. A Cityscap ...

Assignment game prototypeoverviewfor this assessment task

Assignment: Game Prototype Overview For this assessment task you are expected to construct a prototype level/area as a "proof of concept" for the game that you have designed in Assignment 1. The prototype should function ...

Question slideshows or carousels are very popular in

Question : Slideshows (or carousels) are very popular in websites. They allow web developers to display news or images on the website in limited space. In this code challenge, you are required to complete the JavaScript ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As