Hi, I just installed struts on WAS 4.0, it works fine. Just follow the steps:
In the AAT, from the dialog that appears at startup of AAT, select “Create Application Wizard” and click “OK” to launch the wizard.
On the “Specifying Application Properties” page in the wizard, Enter a display name of “strutsexample”.
Enter a file name of “strutsexample.ear”.
Click “Next >”.
Click “Next >” on the “Adding Supplementary Files” page.
Click “Next >” on the “Choose Application Icons” page.
Click “Next >” on the “Adding
EJB Modules” page.
On the “Adding Web Modules” page, click “Add…”
From the “Open” dialog, select the file: “C:\tmp\strutsexample.war” (the one that the first step in this process had you copy into C:\tmp), and click “OK”.
In the “Confirm Values” dialog that appears, enter “/strutsexample” in the “context root” field, and click “OK”. (strutsexample.war should now appear in the list on the “Adding Web Modules” page.)
Click “Next >”.
Click “Next >” on the “Adding Application Client Modules” page.
Click “Finish” on the “Adding Security Roles” page.
Select “Save” from the “File” menu.
In the “Save” dialog that appears, save the file as: “C:\tmp\strutsexample.ear”
(after saving, a dialog should appear with the message “Archive was saved successfully”
Click “OK” to close this dialog.
Close the AAT (File->Exit)
Start your Admin console, Install the ear to the Enterprise Application.
Launch your browser and typing
http://localhost/strutsexample ( should be able to call your index.jsp). For me, I call by
http://localhost:9080:strutsexample. That's should solve your problem.
By the way, I'm having problem in running struts in VAJ 4.0, do you have any idea?
Regards.