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 B898118608 for ; Fri, 30 Oct 2015 09:09:09 +0000 (UTC) Received: (qmail 31178 invoked by uid 500); 30 Oct 2015 09:08:49 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 31147 invoked by uid 500); 30 Oct 2015 09:08:49 -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 31136 invoked by uid 99); 30 Oct 2015 09:08:48 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2015 09:08:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 40799C0098 for ; Fri, 30 Oct 2015 09:08:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4 X-Spam-Level: **** X-Spam-Status: No, score=4 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H2=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id bIbj7St5Fl-U for ; Fri, 30 Oct 2015 09:08:40 +0000 (UTC) Received: from llsc494-a04.servidoresdns.net (llsc494-a04.servidoresdns.net [82.223.190.47]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 31E1E439FA for ; Fri, 30 Oct 2015 09:08:39 +0000 (UTC) Received: from ELECTRONICO2 (54.Red-83-58-44.dynamicIP.rima-tde.net [83.58.44.54]) by llsc494-a04.servidoresdns.net (Postfix) with ESMTPA id 8CC6E21464 for ; Fri, 30 Oct 2015 10:08:28 +0100 (CET) From: =?iso-8859-1?Q?Daniel_Hern=E1ez?= To: Subject: Wildcard method selection problem Date: Fri, 30 Oct 2015 10:08:25 +0100 Message-ID: <002101d112f2$8932d2d0$9b987870$@dosiper.com> MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_000_0022_01D112FA.EAF89A60" X-Mailer: Microsoft Outlook 15.0 Content-Language: es Thread-Index: AdES8XwDPBw07KolQ3KX+/mqJnRe9g== ------=_NextPart_000_0022_01D112FA.EAF89A60 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0023_01D112FA.EAF89A60" ------=_NextPart_001_0023_01D112FA.EAF89A60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Good morning, =20 I am following the next Struts2 example: https://struts.apache.org/docs/wildcard-method-selection.html =20 The problem with that example is that method =93execute=94 is not found = with the struts.xml configuration shown there (Could not find action or result: /wildcard-method-selection/Person.action). According to the explanation = of the author, when you invoke the address =93 http://localhost:8080/wildcard_method_selection/Person.action=94 then =93execute=94 method in =93PersonAction=94 should be executed (If there = is no value in front of Person, then the Struts 2 framework will call the execute = method of the class PersonAction.). The struts.xml file provided in the example contains the next wildcard declaration: =20 view.jsp input.jsp =20 =20 I must add an extra declaration like the following to get the example = works when invoking =93Person.action=94: =20 view.jsp =20 =20 Thank you very much for your help. =20 Saludos / Regards, Daniel Hern=E1ez International Technical Service =20 Mobile: +34 699 140 596 Landline: +34 987 470 155 =20 Sistemas de Dosificaci=F3n DOSIPER, S.L. C/ Solana 12-14 P.I. Laciana 24112 Villager de Laciana-Villablino (Le=F3n) =20 =20 =20 =20 Aviso legal: La informaci=F3n incluida en este email es CONFIDENCIAL, siendo para uso exclusivo del destinatario arriba mencionado. Si Ud lee este mensaje y = no es el destinatario indicado, le informamos que est=E1 totalmente prohibida cualquier utilizaci=F3n, divulgaci=F3n, distribuci=F3n y/o = reproducci=F3n de esta comunicaci=F3n, total o parcial, sin autorizaci=F3n expresa en virtud de = la legislaci=F3n vigente. Si ha recibido este mensaje por error, le rogamos = nos lo notifique inmediatamente por esta v=EDa y proceda a su eliminaci=F3n = junto con sus ficheros anexos sin leerlo ni grabarlo. En virtud de lo establecido en la Ley 15/1999, y la LSSICE 34/2002, le informamos que sus datos forman parte de un fichero automatizado = titularidad de SISTEMAS DE DOSIFICACI=D3N DOSIPER, S.L. La informaci=F3n registrada = se utilizar=E1 para informarle por cualquier medio electr=F3nico de = nuestras novedades comerciales. Puede ejercer los derechos de acceso, = rectificaci=F3n, cancelaci=F3n y oposici=F3n en: C/ SOLANA, 12-14 NAVE P.I. VILLAGER DE = LACIANA 24110 VILLABLINO (LE=D3N). En cumplimiento de la Ley 34/2002 del 11 de julio, de Servicios de la Sociedad de la Informaci=F3n y de Comercio Electr=F3nico, le informamos = que puede revocar en cualquier momento, de forma sencilla y gratuita, el consentimiento para la recepci=F3n de correo electr=F3nico enviando un = e-mail con su solicitud a: = =AD=AD=AD=AD=AD=AD=AD=AD=AD=AD=AD=AD=AD=AD=AD=AD=AD=AD=AD=AD=AD=AD = dosiper@dosiper.com ____________________________ =20 This e-mail and any files transmitted with it are confidential and = intended solely for the use of the individual to whom it is addressed. If you = have received this email in error please send it back to the person that sent = it to you. Unauthorized publication, use, dissemination, forwarding, = printing or copying of this email and its associated attachments is strictly prohibited. Under the provisions of Law 15/1999, and the LSSICE 34/2002 normative, = we inform you that your data will form part of a computerized database = owned by SISTEMAS DE DOSIFICACI=D3N DOSIPER, S.L.The registered information will = be used to maintain the contractual relation and to inform you by e-mail or postcards of the commercial newness and/or new promotions of the = company. We also inform you that you may exercise the rights of access, = rectification, cancellation and opposition in C/ SOLANA, 12-14 NAVE P.I. VILLAGER DE LACIANA 24110 VILLABLINO (LE=D3N) In compliance with Law 34/2002 of July 11th, Services Information = Society and Electronic Commerce, we inform you that you may revoke at any time, easily and free, the consent to receive e-mail=B4s, sending an e-mail = with your request to: dosiper@dosiper.com =20 ------=_NextPart_001_0023_01D112FA.EAF89A60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Good morning,

 

I am following the next Struts2 example: ht= tps://struts.apache.org/docs/wildcard-method-selection.html

 

The problem with that example is that method = “execute” is not found with the struts.xml configuration = shown there (Could not = find action or result: = /wildcard-method-selection/Person.action). = According to the explanation of the author, when you invoke the address = “http://localhost:8080/wildcard_method_selection/Person.a= ction” then “execute” = method in “PersonAction” should be executed (If there is no value in front of Person, then the Struts = 2 framework will call the execute method of the class = PersonAction.). The struts.xml file provided = in the example contains the next wildcard = declaration:

 

<action name=3D"*Person" class=3D"org.apache.struts.tutorials.wildcardmethod.= action.PersonAction" method=3D"{1}">

=A0=A0=A0=A0=A0= =A0 <result = name=3D"success">view.jsp</result>

=A0=A0=A0=A0=A0= =A0 <result = name=3D"input">input.jsp</result>

</action>

 

 

I must add an extra declaration like the following to get = the example works when invoking = “Person.action”:

 

<action = name=3D"Person" class=3D"org.apache.struts.tutorials.wildcardmethod.= action.PersonAction" method=3D"execute">

=A0=A0=A0=A0=A0= =A0 <result = name=3D"success">view.jsp</result>

</action>

 

 

Thank you very much for your help.

 

Saludos / = Regards,

Daniel = Hern=E1ez

International Technical = Service

 <= /p>

Mobile: +34 699 140 = 596

Landline: +34 987 470 = 155

 <= /p>

Sistemas de = Dosificaci=F3n DOSIPER, S.L.

C/ Solana 12-14 P.I. = Laciana

24112 Villager de = Laciana-Villablino (Le=F3n)

 

 

3DDOSIPER-LOGO

 

 

Aviso legal:

La informaci=F3n incluida en este email es = CONFIDENCIAL, siendo para uso exclusivo del destinatario arriba = mencionado. Si Ud lee este mensaje y no es el destinatario indicado, le = informamos que est=E1 totalmente prohibida cualquier utilizaci=F3n, = divulgaci=F3n, distribuci=F3n y/o reproducci=F3n de esta comunicaci=F3n, = total o parcial, sin autorizaci=F3n expresa en virtud de la = legislaci=F3n vigente. Si ha recibido este mensaje por error, le rogamos = nos lo notifique inmediatamente por esta v=EDa y proceda a su = eliminaci=F3n junto con sus ficheros anexos sin leerlo ni = grabarlo.

En virtud de lo establecido en la Ley 15/1999, y la = LSSICE 34/2002, le informamos que sus datos forman parte de un fichero = automatizado titularidad de SISTEMAS DE DOSIFICACI=D3N DOSIPER, = S.L. La informaci=F3n registrada se utilizar=E1 para informarle por = cualquier medio electr=F3nico de nuestras novedades comerciales. Puede = ejercer los derechos de acceso, rectificaci=F3n, cancelaci=F3n y = oposici=F3n en: C/ SOLANA, 12-14 NAVE P.I. VILLAGER DE LACIANA 24110 = VILLABLINO (LE=D3N).

En cumplimiento de la Ley 34/2002 del 11 de julio, = de Servicios de la Sociedad de la Informaci=F3n y de Comercio = Electr=F3nico, le informamos que puede revocar en cualquier momento, de = forma sencilla y gratuita, el consentimiento para la recepci=F3n de = correo electr=F3nico enviando un e-mail con su solicitud a: = =AD=AD=AD=AD=AD=AD=AD=AD=AD=AD=AD=AD=AD=AD=AD=AD=AD=AD=AD=AD=AD=AD= dosiper@dosiper.com

= ____________________________

=  

This e-mail and any files transmitted with it are = confidential and intended solely for the use of the individual to = whom it is addressed. If you have received this email in error please = send it back to the person that sent it to you. Unauthorized = publication, use, dissemination, forwarding, printing or copying of this = email and its associated attachments is strictly prohibited.

Under the provisions of Law 15/1999, and the LSSICE = 34/2002 normative, we inform you that your data will form part of a = computerized database owned by SISTEMAS DE DOSIFICACI=D3N DOSIPER, = S.L.The registered information will be used to maintain the = contractual relation and to inform you by e-mail or postcards of the = commercial newness and/or new promotions of the company. We also inform = you that you may exercise the rights of access, rectification, = cancellation and opposition in C/ SOLANA, 12-14 NAVE P.I. VILLAGER DE = LACIANA 24110 VILLABLINO (LE=D3N)

In compliance with Law 34/2002 of July 11th, = Services Information Society and Electronic Commerce, we inform you that = you may revoke at any time, easily and free, the consent to receive = e-mail=B4s, sending  an e-mail with your request to: dosiper@dosiper.com

 

------=_NextPart_001_0023_01D112FA.EAF89A60-- ------=_NextPart_000_0022_01D112FA.EAF89A60--