15.4.6 Editing the resources file

In this section you will provide the messages, required by the portlet application, in the resources file as follows:

1. In Project Explorer view, expand Java Resources | JavaSource | myfirstjsr168struts.resources.

2. Double-click ApplicationResources.properties.

3. Insert the lines below:

Example 15-5 ApplicationResources.properties

myfirstjsr168struts.title=Struts portlet with JSR 168 Portlet API

message.mustConfigureFirst=You must configure this portlet through edit mode.
message.configured=This portlet has been configured for user:

4. Save the file and close the editor.

Redbooks
ibm.com/redbooks