Hi I'm developing in Jira.
in https://developer.atlassian.com/server/jira/platform/webwork/
they say using alias, an action with alias MyNewJiraAction
would be invoked by the URL http://<my-jira-server>/secure/MyNewJiraAction.jspa
.
I wonder how to deal with that url mapping.
Prefix("/secure") and postfix(".jspa") are just ignored?
Is it a convention in webwork so the code dealing with it is inside webwork library?
Or Do there some filters support it in web.xml? Or Tomcat support this?
It is webwork doing the magic behind the scenes. Also, pay attention to the commands. The above action will trigger the doExecute() method.
If you specify http://<my-jira-server>/secure/MyNewJiraAction!test.jspa
, it will trigger doTest() in the action class.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.