O'Reilly logo

J2EE™ Applications and BEA™ WebLogic Server™ by Sandra L. Emerson, Rob Woollen, Michael Girdley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required