<action name="/partner/*/*" class="webStoreAction">
<param name="saveUrl">true</param>
<param name="homeName">HomePartner</param>
<param name="partner">{1}</param>
<param name="partnerId">{2}</param>
<param name="homeFromMenu">false</param>
<result name="success" type="jsf">
/WEB-INF/pages/load.xhtml
</result>
</action>
Why localhost:8080/partner/partnerName matches with this action?
Try
<constant name="struts.patternMatcher" value="regex"/>the only viable matcher for the constants above. This is usually used with advanced wildcards mode, explained here.The URL splitted into namespace
/and action namepartner/partnerName. The last matches a pattern compiled from the name in the action config using a wildcard mapper, which is a default mapper.