Question: java please include the final screen captures In this exercise, you'll run the Product Discount application that's described in this chapter. You'll also use your

java please include the final screen capturesjava please include the final screen captures In this exercise, you'll run

In this exercise, you'll run the Product Discount application that's described in this chapter. You'll also use your browser to view its source code. Start the application 1. If necessary, start the Apache web server as shown in figure 1-11. 2. Start your web browser. 3. Run the Product Discount application by entering this URL into the browser's address bar and pressing the Enter key http://localhost/book apps/ch01 product discount/ If this application runs, it means that you have installed the software and downloadable applications correctly. Test the application 4. Enter valid values in the three text boxes. Then, click the Calculate Discount button. This should display the results of the calculation on the second page of the application. 5. Look in the browser's address bar and note that the URL points to a PHP file. 6. View the source code for this web page as shown in figure 1-15. Note that this source code only contains HTML, not PHP code. When you're done, close the tab or window that contains the source code. 7. Click on the browser's Back button to return to the first page of the application, enter invalid numeric values like "xx" and "yy" in the second and third text boxes, and click the Calculate Discount button. Then, read the error messages that are displayed. You'll learn how to handle errors like this later in this book. 8. Click the browser's Back button to return to the first page of the application. Then, run the application again with valid data

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!