Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Convert standard JSP bean tags to EL 1. Download and open the ch08_ex1_email project from the course Canvas page. Program files can be downloaded from

Convert standard JSP bean tags to EL

1. Download and open the ch08_ex1_email project from the course Canvas page.

Program files can be downloaded from this zip: https://drive.google.com/open?id=0B5HjVVkWJYBIQkpTQmtLRmJVU2s

2. Run the application. Then, enter data for a user, click the Join button, and click the Return

button. Note how the users data is displayed on both pages.

3. Open the index.jsp and thanks.jsp files. Then, convert the standard JSP tags to EL. Note how the

EL is shorter and easier to read than the standard JSP tags.

4. Run the application. It should work the same as it did before

Use EL to work with a collection and an initialization parameter

5. Open the EmaiListServlet class. Note that it stores the current date as a request attribute. Note also that it stores an ArrayList of User objects as a session attribute.

6. Open the web.xml file. Note that it does not allow scripting for the current application. Note also that the custserv@murach.com email address is stored as a context initialization parameter named custServEmail.

7. Open the thanks.jsp file. Then, complete the code at the end of the page so it displays the current date, the first two users in the ArrayList of User objects, and the customer service email.

8. Run the application. Then, enter data for a user, click on the Return button, and note how the users data is displayed on the first page.

Use EL to specify scopt

9. Open the thanks.jsp file and explicitly specify the scope for the user attribute and the currentDate attribute.

10. Test the application to make sure that it still works correctly.

Program files can be downloaded from this zip: https://drive.google.com/open?id=0B5HjVVkWJYBIQkpTQmtLRmJVU2s

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals, Design, and Implementation

Authors: David M. Kroenke, David J. Auer

14th edition

133876705, 9781292107639, 1292107634, 978-0133876703

More Books

Students also viewed these Databases questions

Question

Explain the function and purpose of the Job Level Table.

Answered: 1 week ago