1obtaining the new script download and save the attached

Assignment Help JAVA Programming
Reference no: EM13370576

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

2. Setting up the form page: In this part, you will create a form interface to the CGI program that will accept comments on your web site, as well as some information about the sender and send them to you via email. Create the form interface in a file called mailer.html. The form should include some brief instructions and a request for comments. Include the following input elements:
• The form used for gathering the input has a NAME parameter set to usercomments.
• The form uses the POST method and references the script called form-mail2.pl on your server for the action.
• The form includes some brief instructions and a request for comments.
• The form includes the following input elements:
• A text box, called realname for the person's name.
• A text box, called email for the person's email address.
• A text area called message for the comments. Make this a bit larger than the default size.
• A group of at least 3 radio buttons called rating with a rating scale of your choosing for your web site.
• A text box called phone for the person's phone number.
• A text box called 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 clearly identified.

3. JavaScript validation: In this part, 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 need to reinvent the wheel. However, make sure you give credit. The following validations should be checked both when the value of the field changes (onChange) and before the form can be submitted (onSubmit). If a field does not validate, an appropriate message should be displayed on the webpage (not in an alert), and the focus and select should be set to the offending field.
• realname (must be non-blank, must begin with a capital letter, and must contain at least one vowel and one consonant)
• email (email format: [email protected])
• message (must be non-blank)
• phone (telephone format: (###) ###-#### ), but do not allow extra parentheses, spaces, or dashes within the phone number.
• bday (date format: MM/DD/YY)

4. Adding a SSI footer: In this part, you will add a header, using SSI (server side includes), to the mailer page. Re-name your mailer.html file to mailer.shtml, so that the server will check for includes. Include an SSI command to display the "last modified" date of the mailer.html file.

Download:- JAVA Programming.zip

Reference no: EM13370576

Questions Cloud

1 in each of the following types of growth how is the rate : 1. in each of the following types of growth how is the rate of growth dndt influenced by the population size n?
Question 1 the heliconius butterflies are a classic example : question 1 the heliconius butterflies are a classic example of muumlllerian mimicry. which of the following defines a
1 you have decided to invest in a portfolio that includes : 1. you have decided to invest in a portfolio that includes all companies in the dow jones industrials index. a list of
Readings regarding whether artefacts have politics and : readings regarding whether artefacts have politics and whether the machines can make history. read these two papers and
1obtaining the new script download and save the attached : 1.obtaining the new script download and save the attached comment cgi mailer script form-mail.pl to your servers
Project1 install mysql dbms and dblanguage connector : project1. install mysql dbms and dblanguage connector software on your machine2. create world database using mysql
Thread problem the eaters must give their dishes to the : thread problem the eaters must give their dishes to the dishwasher by putting them on a conveyor belt that has a
A screening test for a newly discovered disease is being : a screening test for a newly discovered disease is being evaluated. in order to determine the effectiveness of the new
Case - cost strcture and pricing sting ray poolvac inc : case - cost strcture and pricing sting ray poolvac inc. manufactures and sells a single product called the sting

Reviews

Write a Review

JAVA Programming Questions & Answers

  That uses a library database of books

Write a Java program that uses a library database of books and patron data, as described in Exercise R22.2. Patrons should be able to check out and return books

  Program will read parameters plaintext and ciphertextfrom

Specifically, your program will read parameters, plaintext and ciphertextfrom a file named "input.txt" (under the same directory).Then your program needs tocreate a file named "output.txt" (under the same directory) and prints the public key, private..

  Utilizes a good design process

Analyze, design, and document a simple program that utilizes a good design process and incorporates sequential, selection and repetitive programming statements as well as at least one function call and the use of at least one array.

  Class to initialize values

Create a constructor that allows a user of the class to initialize values. Also create a method named SetJustSold()(Hint ++) that increments the number of hot dogs the stand has sold by one and should also increase the TotalSold by one

  Write a program called gf2java to implement the finite

write a program called gf2.java to implement the finite field gfpn where p is a prime number and n is a positive

  Project is for designing and developing a college

project is for designing and developing a college registration program. write a java program to register students for a

  String that contains at least five letters

Write an application that prompts the user for a String that contains at least five letters and at least five digits. Continuously reprompt the user until a valid String is entered. Display a message indicating whether the user was successful or did ..

  Using notepad that implements a basic text analyzer

Write a Java application using Notepad that implements a basic Text Analyzer.

  Write a java program that reads a five-line address

Write a Java program that reads a five-line address from an input file and produces an output file with the address repeated 50 times in three columns.

  This is a simulation of rolling dice actual results

this is a simulation of rolling dice. actual results approach theory only when the sample size is large. so we will

  Develop and test stand alone java applications

Demonstrate an understanding of Object-Oriented Programming concepts in Java.

  Write a program that displays a drawing popular hangman game

Write a program that displays a drawing for the popular hangman game, as shown in Figure 15.32(c). draws a sketch for the hangman game.

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