Victor
Victor

Reputation: 17107

struts 2 package names

In struts 2, if we have action declaration as :

<package name="pdfReports" namespace="/reportPdfs" extends="struts-default">
        <action name="*" .......

What should be the action url corresponding to this? This url:

/reportPdfsreports/12-008975/someActionName.action

is giving error:

There is no Action mapped for action name someActionName

Upvotes: 0

Views: 948

Answers (1)

Tommi
Tommi

Reputation: 8608

The URL would be /reportPdfs/someActionName.action

Upvotes: 2

Related Questions