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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.