We will start with a project to create a simple JSP. We will create a login JSP that submits data to itself and validates the user.
JavaServer Pages
Creating a dynamic web project
We will perform the following steps to create a dynamic web project:
- Select the File | New | Other menu. This opens the selection wizard. At the top of the wizard, you will find a textbox with a cross icon on the extreme right side.
- Type web in the textbox. This is the filter box. Many wizards and views in Eclipse have such a filter textbox, which makes finding items very easy.
Figure 2.7: New selection wizard
- Select Dynamic Web Project and click Next to open the Dynamic Web Project wizard. Enter project name, for example, LoginSampleWebApp...