Wrong URL match in action

前端 未结 1 448
礼貌的吻别
礼貌的吻别 2021-01-16 10:57

    true
    

        
相关标签:
1条回答
  • 2021-01-16 11:36

    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 name partner/partnerName. The last matches a pattern compiled from the name in the action config using a wildcard mapper, which is a default mapper.

    0 讨论(0)
提交回复
热议问题