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 6027F200D3E for ; Thu, 16 Nov 2017 17:39:38 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5EE50160BF4; Thu, 16 Nov 2017 16:39:38 +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 7EAE01609EF for ; Thu, 16 Nov 2017 17:39:37 +0100 (CET) Received: (qmail 12977 invoked by uid 500); 16 Nov 2017 16:39:36 -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 12959 invoked by uid 99); 16 Nov 2017 16:39:36 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Nov 2017 16:39:36 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 3B0CC1A0FC5 for ; Thu, 16 Nov 2017 16:39:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.1 X-Spam-Level: * X-Spam-Status: No, score=1.1 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id cCnGsu1T5Ddq for ; Thu, 16 Nov 2017 16:39:32 +0000 (UTC) Received: from mx0c-00131701.pphosted.com (mx0c-00131701.pphosted.com [67.231.158.130]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 0829D5FE5C for ; Thu, 16 Nov 2017 16:39:31 +0000 (UTC) Received: from pps.filterd (m0101451.ppops.net [127.0.0.1]) by -00131701.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id vAGGaTdQ005787 for ; Thu, 16 Nov 2017 16:39:25 GMT Received: from corpowm-9.cgiclients.com (22-21-254-64.c3.cgi.com [64.254.21.22] (may be forged)) by -00131701.pphosted.com with ESMTP id 2e98mqspwp-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 16 Nov 2017 16:39:24 +0000 Received: from CORPOWM-22.cgiclients.com (172.29.9.161) by CORPOWM-9.cgiclients.com (172.29.9.149) with Microsoft SMTP Server (TLS) id 14.3.339.0; Thu, 16 Nov 2017 11:39:23 -0500 Received: from CORPOWM-17.cgiclients.com ([172.29.9.157]) by CORPOWM-22.cgiclients.com ([fe80::71f2:479f:8f7d:cb85%15]) with mapi id 14.03.0339.000; Thu, 16 Nov 2017 11:39:23 -0500 From: "Dhulipudi, Sivannarayana" To: Struts Users Mailing List Subject: RE: Struts2.x ActionError And ActionMessage Thread-Topic: Struts2.x ActionError And ActionMessage Thread-Index: AQHTXu2SthRdMnEXl0i5f2qsItQAsKMXclEAgAACsoD//7HY6Q== Date: Thu, 16 Nov 2017 16:39:22 +0000 Message-ID: <8D0763EBF445DB4EB6EDCAC4B8CBBA7C0DF7D30F@CORPOWM-17> References: <8D0763EBF445DB4EB6EDCAC4B8CBBA7C0DF7D2E9@CORPOWM-17> , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.29.9.190] Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 archived-at: Thu, 16 Nov 2017 16:39:38 -0000 Actually we are using Apache commons validation frame work along with stru= ts, when ever validation failed, I want to create one action error message = and keep that action error in context and display error message in jsp page= . =0A= =0A= =0A= =0A= =0A= ________________________________________=0A= From: Paul Zepernick [Paul.Zepernick@healthsmart.com]=0A= Sent: Thursday, November 16, 2017 9:28 AM=0A= To: 'Struts Users Mailing List'=0A= Subject: RE: Struts2.x ActionError And ActionMessage=0A= =0A= ActionError and ActionMessage are not classes you can utilize stand alone. = Calling addActionError() is actually building a List in the action= and same with addActionMessage(). Are you trying to validate a Struts act= ion or something entirely different, since you say the validation is not do= ne in your action class? Maybe you need to pass the instance of your actio= n class to the class that you have doing the validation?=0A= =0A= -----Original Message-----=0A= From: Adam Brin [mailto:abrin@digitalantiquity.org]=0A= Sent: Thursday, November 16, 2017 10:19 AM=0A= To: Struts Users Mailing List =0A= Subject: Re: Struts2.x ActionError And ActionMessage=0A= =0A= Hi Siva,=0A= Can you share an example of what you=92re doing and what=92s not working?= =0A= =0A= thanks,=0A= =0A= adam=0A= --=0A= _________________________________________________________=0A= Adam Brin=0A= Director of Technology, Digital Antiquity=0A= 480.965.1278=0A= =0A= > On Nov 16, 2017, at 8:15 AM, Dhulipudi, Sivannarayana wrote:=0A= >=0A= > Hi All,=0A= >=0A= > I tried to use struts 2.x ActionError and ActonMessage classes to do val= idations.=0A= >=0A= > I saw a lot examples on internet, in those examples adding errors and=0A= > messages to actionsupport class like=0A= >=0A= > addActionErrors() and addActionMessage(). but I want to use ActionError a= nd ActionMessage classes in my project.=0A= >=0A= > I'm not doing validation in action class . please help me someone on this= topic.=0A= >=0A= > Thanks=0A= > Siva=0A= >=0A= >=0A= > ________________________________________=0A= > From: Lukasz Lenart [lukaszlenart@apache.org]=0A= > Sent: Wednesday, November 15, 2017 11:52 PM=0A= > To: Struts Users Mailing List=0A= > Subject: Re: Migration from Struts1 to Struts2.5=0A= >=0A= > 2017-11-15 16:26 GMT+01:00 JK :=0A= >> struts2-core-2.5.13.jar=0A= >> struts2-tiles-plugin-2.3.8.jar=0A= >> tiles-core-2.0.6.jar=0A= >> tiles-jsp-2.0.6.jar=0A= >> tiles-api-2.0.6.jar=0A= >=0A= > You are using a wrong version of Tiles, Struts 2.5.13 and the Struts 2=0A= > Tiles plugin based on Tiles 3 - you must use Tiles 3.0.7 at least=0A= > http://struts.apache.org/maven/struts2-plugins/struts2-tiles-plugin/de=0A= > pendency-management.html=0A= >=0A= >=0A= > Regards=0A= > --=0A= > =A3ukasz=0A= > + 48 606 323 122 http://www.lenart.org.pl/=0A= >=0A= > ---------------------------------------------------------------------=0A= > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org=0A= > For additional commands, e-mail: user-help@struts.apache.org=0A= >=0A= >=0A= > ---------------------------------------------------------------------=0A= > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org=0A= > For additional commands, e-mail: user-help@struts.apache.org=0A= >=0A= =0A= =0A= ---------------------------------------------------------------------=0A= To unsubscribe, e-mail: user-unsubscribe@struts.apache.org=0A= For additional commands, e-mail: user-help@struts.apache.org=0A= =0A= =0A= =0A= =0A= Disclaimer: This communication and any files transmitted with it may contai= n information that is privileged, confidential and/or exempt from disclosur= e under applicable law. If you are not the intended recipient, you are here= by notified that any disclosure, copying, distribution, or use of the infor= mation contained herein (including any reliance thereon) is strictly prohib= ited. If you received this communication in error, please immediately conta= ct the sender and destroy the material in its entirety, whether in electron= ic or hard copy format. Thank you.=0A= --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org