You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Jira)" <ji...@apache.org> on 2021/12/16 13:42:00 UTC

[jira] [Commented] (WW-5159) struts2 update from 2.1.6 to 2.3.37

    [ https://issues.apache.org/jira/browse/WW-5159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17460715#comment-17460715 ] 

Lukasz Lenart commented on WW-5159:
-----------------------------------

You can implement your own {{ActionMapper}} and used it:
https://struts.apache.org/core-developers/action-mapper.html#custom-actionmapper

Please ask such questions on the User list 
https://lists.apache.org/list.html?user@struts.apache.org

> struts2 update from 2.1.6 to 2.3.37
> -----------------------------------
>
>                 Key: WW-5159
>                 URL: https://issues.apache.org/jira/browse/WW-5159
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.3.37
>            Reporter: Lia_Eur
>            Priority: Major
>
> The issue we are facing has to do with the method handleSpecialParameters() inside org.apache.struts2.dispatcher.mapper.{*}DefaultActionMapper{*}.class and I would like to ask if it is possible to overwrite this method inside struts.xml.
> Actually the problem we have is that the actionName should be /<nameOfAction>ID for example name139. But inside handleSpecialParameters this name is changed and there is a 0 that is added at the end of the name. That's why I am asking if there is a way to skip this method. Thanks in advance!



--
This message was sent by Atlassian Jira
(v8.20.1#820001)