Run and test the portlet. Execute the following steps:
Stop the Portal Test Environment.
Right-click the MyFirstJSR168Struts project.
Select Run → Run on Server.
After the welcome page displays, click the edit icon, go to Edit mode.
Enter a user name and password; the application stores these values as PortletPreferences and forwards to View mode index.jsp.
Figure 15-32. The portlet in Edit mode
Enter your name and a password.
Click Submit to invoke the action (Edit Mode).
Click Reset to clear the fields.