开发者

struts 2 package names

开发者 https://www.devze.com 2023-02-13 18:31 出处:网络
In struts 2, 开发者_JAVA技巧if we have action declaration as : <package name=\"pdfReports\" namespace=\"/reportPdfs\" extends=\"struts-default\">

In struts 2, 开发者_JAVA技巧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


The URL would be /reportPdfs/someActionName.action

0

精彩评论

暂无评论...
验证码 换一张
取 消