JSPs in the WebAuction Application

As discussed in Chapter 2, Overview of J2EE Technologies, the WebAuction application includes a suite of JSP pages that handle the user interaction. In this section, we detail one of those JSP pages: browseitems.jsp, and the JavaBean ItemBean that encapsulates the Java code so that it does not appear in the JSP page.

The browseitems.jsp does what its name implies. This JSP page is called when a user wants to look at the current auction items. There are different categories of items up for auction including books, computers, and clothing. When a request comes in to view items of a certain type, the ItemBean queries the appropriate back end resources (in this case, EJBs), and outputs the data.

browseitems.jsp ...

Get J2EE™ Applications and BEA™ WebLogic Server™ now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.