Question: JSP Component: openFortuneCookie.jsp In the text box below write the code that would complete the requirements for the missing functionality in openFortuneCookie.jsp to generate dynamic

 JSP Component: openFortuneCookie.jsp In the text box below write the codethat would complete the requirements for the missing functionality in openFortuneCookie.jsp to

JSP Component: openFortuneCookie.jsp In the text box below write the code that would complete the requirements for the missing functionality in openFortuneCookie.jsp to generate dynamic content. There are two missing components For part 1 the code should display a user name read from a "theUser bean if a one exists and is valid. If no valid bean is found a default, "Friend', is displayed. For part 2 the code should display a fortune text read from a "theFortune" bean if a one exists and is valid. If no valid bean is found a default, "hazy, ask again later", is displayed You may use scriptlets or expression language. "Comments are provided in the body of the code to indicate the required functionality. ODCTYPE chtnl chead> ctitle-Your Fortune Cookies/title body ch1sWelcome

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!