Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Java Expert


Home >> Java

This assignment has four parts:

1) Obtaining the new script: Download and save the attached comment CGI mailer script form-mail2.pl to your server's cgi-bin directory, and change the permissions on the script to make it executable (not writable). You require not know how it works complete the next step; though, as a Perl CGI script you may be interested in seeing what it does.

2) Setting up the form page: In this portion, you will make a form interface to the CGI program which will accept comments on your web site, and also some information regarding the sender and send them to you through email. Make the form interface in a file called mailer.html. The form must include some brief instructions and a request for comments.

Comprise the given input elements:

• The form used for gathering the input consists of a NAME parameter set to user comments.
• The form uses the POST method and references the script termed form-mail2.pl on your server for the action.
• The form comprises some brief instructions and a request for the comments.
• The form comprises the given input elements:
• A text box, termed realname for the person's name.
• A text box, termed email for the person's email address.
• A text area termed message for the comments. Make this a bit bigger than the default size.
• A group of at least 3 radio buttons termed rating with a rating scale of your choosing for your website.
• A text box termed phone for the person's phone number.
• A text box termed bday for the person's birthday.

Make sure that the input elements are organized in a clear and usable fashion, and make sure that the function of each input element is evidently recognized.

3) JavaScript validation: In this portion, you will add JavaScript validation to the fields on the form. You can base your validation routines on any form validation on the Internet. There is a lot out there already written and there is no requirement to reinvent the wheel. Though, make sure you give credit. The given validations must be checked both when the value of the field changes (onChange) and before the form can be submitted (onSubmit). If a field doesn’t validate, a suitable message must be displayed on the webpage (not in an alert) and the focus and select must be set to the offending field.

• realname (should be non-blank, must start with a capital letter, and should contain at least one vowel and one consonant)
• email (email format: username@somewhere.something)
• message (must be non-blank)
• phone (telephone format: (###) ###-#### ), however do not permit extra parentheses, spaces, or dashes within the phone number.
• bday (date format: MM/DD/YY)

4) Adding a SSI footer: In this portion, you will add a header, by using SSI (server side comprises), to the mailer page.  Re-name your mailer.html file to mailer.shtml, so that the server will check for includes. Include any prior HTML file at the TOP of your file (See http://httpd.apache.org/docs/2.2/howto/ssi.html if you are unsure how to do this). Comprise an SSI command to display the "last modified" date of the mailer.html file.

Java, Programming

  • Category:- Java
  • Reference No.:- M91024

Have any Question?


Related Questions in Java

Project requirementsfor the problem described in the next

Project requirements For the problem described in the next section, you must do the following: 1. include your student ID at the end of all filenames for all java code files. Three classes have been identified in section ...

Part a specification - robot simulationpart a

PART A Specification - Robot Simulation PART A Requirements To complete this assignment you will use the supplied eclipse project Robot P1/. It is already set up to execute a simple arm movement loop which you will build ...

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 ...

Answer the following question whats the difference public

Answer the following Question : What's the difference public inheritance and private inheritance? What can derived classes inherit from base classes? What cannot be inherited from base classes?

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 ...

Can someone kindly help me to consider whether java

Can someone kindly help me to consider whether Java provides the facility of operator overloading? If it does, may you kindly describe how overloading operators can be accomplished? If not, may you kindly describe why yo ...

Chatbotscreate a small networked chat application that is

Chatbots Create a small, networked chat application that is populated by bots. Introduction On an old server park, filled with applications from the early days of the internet, a few servers still run one of the earliest ...

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 - 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 ...

  • 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