Building a Struts Application with JBuilder

Our Struts example consists of the following files. These files will be created as we go through the process of creating this example.

  • submit.jsp

  • SubmitAction.java

  • SubmitForm.java

  • struts-config.xml

Starting a New Struts Project

Using JBuilder to create a Struts application is simple. The following steps guide you through the process of creating a simple struts project framework:

1.
Select File, New Project. This starts the Project Wizard (see Figure 31.2). Supply the name of your project to be sampleProject. The remaining properties in the Project Wizard can be filled in with any properties.
Figure 31.2. Creating a new project with the Project Wizard.

2.
Create a Web application using the Web Application ...

Get Borland® JBuilder™ Developer’s Guide 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.