about webwork url mapping

sangmoonpark January 9, 2018

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?

 

 

1 answer

1 accepted

1 vote
Answer accepted
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 10, 2018

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.

sangmoonpark January 10, 2018

thank you your reply!

Suggest an answer

Log in or Sign up to answer