Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 662C110A35 for ; Tue, 24 Sep 2013 08:38:35 +0000 (UTC) Received: (qmail 829 invoked by uid 500); 24 Sep 2013 08:36:31 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 713 invoked by uid 500); 24 Sep 2013 08:36:08 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 559 invoked by uid 99); 24 Sep 2013 08:35:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Sep 2013 08:35:44 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [193.159.191.10] (HELO iron2.lex-com.net) (193.159.191.10) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Sep 2013 08:35:39 +0000 X-IronPort-AV: E=Sophos;i="4.90,969,1371074400"; d="scan'208";a="12877035" Received: from localhost (HELO mucle03.lex-com.net) ([10.89.20.108]) by iron2.lex-com.net with ESMTP/TLS/RC4-MD5; 24 Sep 2013 10:38:38 +0200 In-Reply-To: References: <52404D82.2020202@abas.de> <52412DFD.2060201@abas.de> To: "Struts Users Mailing List" MIME-Version: 1.0 Subject: Re: Re: Re: Url rewriting of .action to .jsp X-KeepSent: A4DFB341:62CA1701-C1257BF0:002EF316; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.5.3 September 15, 2011 Message-ID: From: Christoph Nenning Date: Tue, 24 Sep 2013 10:35:01 +0200 X-MIMETrack: Serialize by Router on MUCLE03/Lexcom_Muenchen/LEXCOM(Release 8.5.2FP2|March 22, 2011) at 24.09.2013 10:35:16, Serialize complete at 24.09.2013 10:35:16 Content-Type: multipart/alternative; boundary="=_alternative 002F2C91C1257BF0_=" X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 002F2C91C1257BF0_= Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" > >> > Yeah, I like the idea of strict-DMI. Right now I could not get it > > working > >> > with the convention pulgin, can investigate next week. > >> > >> That's why I want to have programmable configuration in XWork and then > >> XML or Convention configuration via plugins - there strict path how to > >> add new configuration option, like DMI strict mode. > >> > >> > And I just realized that using "method:foo" parameter names works > >> > independent of DMI. > >> > >> Strange, what ActionMapper do you use? > >> > > > > In the app I tested with I have 2.3.15.1 and default ActionMapper (nothing > > configured). strict-DMI was not explicitly enabled. > > > > I just added "allowed-methods" to one action. Afterwards I could not > > invoke methods via URL (gave me method-not-allowed). > > But a form with "method:add" did still work (while foo!add.action did > > not). > > > > > > When I try to enable strict DMI like this: > > > > > > > > I get an exception at app start: > > org.xml.sax.SAXParseException: Attribute "strict-method-invocation" must > > be declared for element type "package". > > Change DTD in the header > > Oh, yes, that was quite obvious. But still: method:add works while !add does not. Regards, Christoph This Email was scanned by Sophos Anti Virus --=_alternative 002F2C91C1257BF0_=--