29.01.2013 Views

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 12-2 Struts settings page<br />

Click the Override default settings box and specify the changes:<br />

► To specify a different version of Struts, select from the Struts version<br />

drop-down menu.<br />

► To change the default Java package prefix, edit the Default Java package<br />

prefix field.<br />

► To create a resource bundle for your Struts project, make sure that the Create<br />

a Resource Bundle for the Struts Project box is selected and that a Java<br />

package name and a resource bundle name are specified.<br />

Clicking Finish will create the project and you will now be ready for Struts<br />

application development.<br />

Enabling Struts support in an existing project<br />

If you have an existing project that was created without Struts support, you can<br />

enable the feature by modifying the project properties.<br />

1. Right-click the Web project in the Project Navigator view and select<br />

Properties from the context menu. The properties dialog will open.<br />

2. Select Web Project Features from the left menu box to display the Web<br />

project features.<br />

Chapter 12. Using Struts 391

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!