This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/struts-site.git
The following commit(s) were added to refs/heads/master by this push: new 574a051 Links missing page 574a051 is described below commit 574a0516a3d72190d3119252b97421efdee6e6ac Author: Lukasz Lenart <lukaszlen...@apache.org> AuthorDate: Mon Oct 2 20:21:08 2017 +0200 Links missing page --- .../action-mapper-and-action-mapping.md | 32 ---------------------- source/core-developers/index.md | 2 +- 2 files changed, 1 insertion(+), 33 deletions(-) diff --git a/source/core-developers/action-mapper-and-action-mapping.md b/source/core-developers/action-mapper-and-action-mapping.md deleted file mode 100644 index 5971945..0000000 --- a/source/core-developers/action-mapper-and-action-mapping.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -layout: core-developers -title: Action Mapper & Action Mapping ---- - -# Action Mapper & Action Mapping - -The ActionMapper fetches the ActionMapping object corresponding to a given request. Essentially, the ActionMapping -is a data transfer object that collects together details such as the Action class and method to execute. The mapping -is utilized by the Dispatcher and various user interface components. It is customizable through `struts.mapper.class` -entry in `struts.properties`. - -## Customize - -Custom ActionMapper must implement ActionMapper interface and have a default constructor. - -``` -struts.mapper.class=foo.bar.MyCustomActionMapper -``` - -```java -public class MyCustomActionMapper implements ActionMapper { - public ActionMapping getMapping(HttpServletRequest request, - ConfigurationManager configManager) { - .... - } - - public String getUriFromActionMapping(ActionMapping mapping) { - .... - } -} -``` diff --git a/source/core-developers/index.md b/source/core-developers/index.md index 2b57ea7..ad24dd1 100644 --- a/source/core-developers/index.md +++ b/source/core-developers/index.md @@ -59,7 +59,7 @@ Each may be configured via XML or annotations. - [Configuration/Documentation] - export https://cwiki.apache.org/confluence/display/WW/Portlet+Plugin - [Logging](logging.html) - [Accessing application, session, request objects](accessing-application-session-request-objects.html) -- [Action Mapper & Action Mapping](action-mapper-and-action-mapping.html) +- [Action Mapper](action-mapper.html) - [Action Proxy & ActionProxy Factory](action-proxy-and-actionproxy-factory.html) - [FAQs](../faq/) - [Struts 2 Maven Archetypes](../maven-archetypes/) -- To stop receiving notification emails like this one, please contact ['"commits@struts.apache.org" <commits@struts.apache.org>'].