Actually that still doesn't do it. You will only see the weather data, if you set the scope of the bean to "page" in the weather.jsp.
Sadly this is wrong in the solution on p.1125 It's also not mentioned in the errata.
Due to a copy&paste error also in the entertain.jsp on p. 1126 the <head> contains the heading for the weather portal.
Man was I lucky to read that grey box on page 57 and try things out. Apparently I have to dig myself through to chapter 9 to learn why I can't reuse a bean on request-scope that way...
Dear authors, please be particularly careful with beginning chapters!!!
|