C H A P T E R  2

image

Using Forms

In this chapter, you'll learn how to use forms to get input from users and store it in a web bean for processing.

Developing a Stock Quote Application

Suppose that you'd like to develop the application shown in Figure 2-1. That is, if the user enters a stock symbol and clicks the button, then the application will display the stock value.

image

Figure 2-1. A stock quote application

Getting the Stock Quote Symbol

Let's create the example application now. In Eclipse, copy the Hello project, and paste it as a new project ...

Get Beginning JSF™ 2 APIs and JBoss® Seam now with the O’Reilly learning platform.

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