You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2020/05/29 06:06:11 UTC

[struts-site] branch action-prefix-clearance updated (220546e -> 87592bd)

This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a change to branch action-prefix-clearance
in repository https://gitbox.apache.org/repos/asf/struts-site.git.


 discard 220546e  Adds a note about action: prefix configuration
     new 87592bd  Adds a note about action: prefix configuration

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (220546e)
            \
             N -- N -- N   refs/heads/action-prefix-clearance (87592bd)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 source/core-developers/action-mapper.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


[struts-site] 01/01: Adds a note about action: prefix configuration

Posted by lu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch action-prefix-clearance
in repository https://gitbox.apache.org/repos/asf/struts-site.git

commit 87592bd6e75108f633cf8fe42d3d2852876de026
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Fri May 29 07:56:06 2020 +0200

    Adds a note about action: prefix configuration
---
 source/core-developers/action-mapper.md | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/source/core-developers/action-mapper.md b/source/core-developers/action-mapper.md
index 8c8ffa1..c42aae9 100644
--- a/source/core-developers/action-mapper.md
+++ b/source/core-developers/action-mapper.md
@@ -43,6 +43,19 @@ In addition to these four prefixes, this mapper also understands the action nam
 the extension form (eg: `foo!bar.action`) or in the prefix form (eg: `action:foo!bar`). This syntax tells this mapper 
 to map to the action named `foo` and the method `bar`.
 
+> NOTE: By default support for the `action:` prefix has been disabled since Struts 2.3.15.3, please use the below 
+> constant to enable it:
+> - using `struts.properties`:
+>   ```
+>   struts.mapper.action.prefix.enabled=true
+>   ```
+> - or using `struts.xml`:
+>   ```
+>   <constant name="struts.mapper.action.prefix.enabled" value="true"/>
+>   ```
+>
+> See [S2-018](https://cwiki.apache.org/confluence/display/WW/S2-018) for more details. 
+
 ### Method prefix
 
 With method-prefix, instead of calling baz action's `execute()` method (by default if it isn't overridden in `struts.xml`