Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2C5AA200D11 for ; Mon, 2 Oct 2017 20:21:19 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2A9AE1609EF; Mon, 2 Oct 2017 18:21:19 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 78C441609C0 for ; Mon, 2 Oct 2017 20:21:18 +0200 (CEST) Received: (qmail 2502 invoked by uid 500); 2 Oct 2017 18:21:17 -0000 Mailing-List: contact commits-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list commits@struts.apache.org Received: (qmail 2493 invoked by uid 99); 2 Oct 2017 18:21:17 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Oct 2017 18:21:17 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id D955381A42; Mon, 2 Oct 2017 18:21:16 +0000 (UTC) Date: Mon, 02 Oct 2017 18:21:16 +0000 To: "commits@struts.apache.org" Subject: [struts-site] branch master updated: Links missing page MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <150696847684.25671.1717532488208611520@gitbox.apache.org> From: lukaszlenart@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: struts-site X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: ffd4ceb7934c0b2a2c499de6cdc2cb75f1b587e6 X-Git-Newrev: 574a0516a3d72190d3119252b97421efdee6e6ac X-Git-Rev: 574a0516a3d72190d3119252b97421efdee6e6ac X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated archived-at: Mon, 02 Oct 2017 18:21:19 -0000 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 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" '].