From roger49@example.com Wed Apr 01 00:49:45 2009 Return-Path: <roger49@example.com> Delivered-To: roger49@example.com Received: (qmail 47113 invoked from network); 1 Apr 2009 00:49:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2009 00:49:44 -0000 Received: (qmail 462 invoked by uid 500); 1 Apr 2009 00:49:41 -0000 Delivered-To: roger49@example.com Received: (qmail 385 invoked by uid 500); 1 Apr 2009 00:49:41 -0000 Mailing-List: contact roger49@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:roger49@example.com> List-Help: <mailto:roger49@example.com> List-Post: <mailto:roger49@example.com> List-Id: "Struts Users Mailing List" <user.struts.apache.org> Reply-To: "Struts Users Mailing List" <roger49@example.com> Delivered-To: mailing list roger49@example.com Received: (qmail 374 invoked by uid 99); 1 Apr 2009 00:49:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 00:49:41 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO kts-srv-hp-04.Kavniya.local) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 00:49:35 +0000 Content-class: urn:content-classes:message Subject: RE: user Digest 31 Mar 2009 20:39:45 -0000 Issue 8569 Date: Wed, 1 Apr 2009 06:30:37 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Message-ID: <roger49@example.com> X-MimeOLE: Produced By Microsoft Exchange V6.5 In-Reply-To: <roger49@example.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: user Digest 31 Mar 2009 20:39:45 -0000 Issue 8569 Thread-Index: AcmyQnVsU1pbBtHRR2i2xtSCP58hjgAIsBJw References: <roger49@example.com> From: "Sivaswamynatha K" <roger49@example.com> To: <roger49@example.com> X-Virus-Checked: Checked by ClamAV on apache.org VGhhbmsgeW91LCBIb3BlIGl0IHdpbGwgaGVscCBtZS4NCg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdl LS0tLS0NCkZyb206IHVzZXItZGlnZXN0LWhlbHBAc3RydXRzLmFwYWNoZS5vcmcgW21haWx0bzp1 c2VyLWRpZ2VzdC1oZWxwQHN0cnV0cy5hcGFjaGUub3JnXSANClNlbnQ6IFdlZG5lc2RheSwgQXBy aWwgMDEsIDIwMDkgMjoxMCBBTQ0KVG86IHVzZXJAc3RydXRzLmFwYWNoZS5vcmcNClN1YmplY3Q6 IHVzZXIgRGlnZXN0IDMxIE1hciAyMDA5IDIwOjM5OjQ1IC0wMDAwIElzc3VlIDg1NjkNCg0KDQp1 c2VyIERpZ2VzdCAzMSBNYXIgMjAwOSAyMDozOTo0NSAtMDAwMCBJc3N1ZSA4NTY5DQoNClRvcGlj cyAobWVzc2FnZXMgMTk3NTQzIHRocm91Z2ggMTk3NTYzKToNCg0KdHlwZSBjb252ZXJzaW9uIHZl cnN1cyB2YWxpZGF0aW9uDQoJMTk3NTQzIGJ5OiBDaHJpc3RpYW4gS2luZGxlcg0KDQpSZTogU3Ry dXRzIDEuMy4xMCArIEFqYXgNCgkxOTc1NDQgYnk6IE1pbGVpZHlzIEdvbnphbGV6IFByaWV0bw0K CTE5NzU0NiBieTogQ29keSBCdXJsZXNvbg0KDQpWaXNpYmxlIGZvcm0gdmFsaWRhdGlvbiBtaXNz aW5nIGFmdGVyIHVwZ3JhZGUgZnJvbSAyLjAuMTEgdG8gMi4xLjYNCgkxOTc1NDUgYnk6IEhlbnJp ayBCcmF1dGFzZXQgQXJvbnNlbg0KCTE5NzU0NyBieTogSGVucmlrIEJyYXV0YXNldCBBcm9uc2Vu DQoJMTk3NTUyIGJ5OiBIZW5yaWsgQnJhdXRhc2V0IEFyb25zZW4NCgkxOTc1NTQgYnk6IE11c2Fj aHkgQmFycm9zbw0KCTE5NzU1NiBieTogSGVucmlrIEJyYXV0YXNldCBBcm9uc2VuDQoJMTk3NTU3 IGJ5OiBIZW5yaWsgQnJhdXRhc2V0IEFyb25zZW4NCg0KUmU6IFNraW5uaW5nLCB0aGVtZWluZyB3 aXRoIHN0dXRzIDIuMS54IGFuZCB0aGUgY29udmVudGlvbiBwbHVnaW4NCgkxOTc1NDggYnk6IEFk YW0gUnVnZ2xlcw0KCTE5NzU1MSBieTogTXVzYWNoeSBCYXJyb3NvDQoJMTk3NTYwIGJ5OiBBZGFt IFJ1Z2dsZXMNCg0KUmU6IEV4ZWN1dGVBbmRXYWl0SW50ZXJjZXB0b3Igbm90IHdvcmtpbmcgICgy LjEuNikNCgkxOTc1NDkgYnk6IERhbGUgTmV3ZmllbGQNCgkxOTc1NTMgYnk6IE11c2FjaHkgQmFy cm9zbw0KDQpSZTogJC5nZXRKU09OKHVyLHBhcmFtcyxmdW5jdGlvbihkYXRhKSgpe33DouKCrMKP DQoJMTk3NTUwIGJ5OiBBZGFtIFJ1Z2dsZXMNCg0KUmU6IERXUiBhbmQgUzIgc2V0dXAgcHJvYmxl bQ0KCTE5NzU1NSBieTogQW5keQ0KDQpSZToganNwIHBhZ2Ugbm90IGRpc3BsYXkgZGF0YSB3aGVu IHVzaW5nIE1vZGVsRHJpdmVuLS0tY2xhc3MgY2FuIGdldCBwYXJhbWV0ZXIgZnJvbSBqc3AgZmls ZQ0KCTE5NzU1OCBieTogTXVzYWNoeSBCYXJyb3NvDQoJMTk3NTU5IGJ5OiBtaXRjaCBnb3JtYW4N CgkxOTc1NjIgYnk6IE1hcnRpbiBHYWludHkNCg0KU2VydmxldFVybFJlbmRlcmVyLnJlbmRlckZv cm1VcmwgTlBFIG1vdmluZyBmcm9tIDIuMC4xNCB0byAyLjEuMTYNCgkxOTc1NjEgYnk6IERlcnJp Y2sgS29lcw0KCTE5NzU2MyBieTogTWFydGluIEdhaW50eQ0KDQpBZG1pbmlzdHJpdmlhOg0KDQot LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0NClRvIHBvc3QgdG8gdGhlIGxpc3QsIGUtbWFpbDogdXNlckBzdHJ1dHMuYXBh Y2hlLm9yZyBUbyB1bnN1YnNjcmliZSwgZS1tYWlsOiB1c2VyLWRpZ2VzdC11bnN1YnNjcmliZUBz dHJ1dHMuYXBhY2hlLm9yZw0KRm9yIGFkZGl0aW9uYWwgY29tbWFuZHMsIGUtbWFpbDogdXNlci1k aWdlc3QtaGVscEBzdHJ1dHMuYXBhY2hlLm9yZw0KDQotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tDQoNCg== From roger49@example.com Wed Apr 01 02:54:13 2009 Return-Path: <roger49@example.com> Delivered-To: roger49@example.com Received: (qmail 1986 invoked from network); 1 Apr 2009 02:54:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2009 02:54:13 -0000 Received: (qmail 88989 invoked by uid 500); 1 Apr 2009 02:54:10 -0000 Delivered-To: roger49@example.com Received: (qmail 88938 invoked by uid 500); 1 Apr 2009 02:54:09 -0000 Mailing-List: contact roger49@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:roger49@example.com> List-Help: <mailto:roger49@example.com> List-Post: <mailto:roger49@example.com> List-Id: "Struts Users Mailing List" <user.struts.apache.org> Reply-To: "Struts Users Mailing List" <roger49@example.com> Delivered-To: mailing list roger49@example.com Received: (qmail 88928 invoked by uid 99); 1 Apr 2009 02:54:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 02:54:09 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of roger49@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO yw-out-2324.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 02:54:02 +0000 Received: by yw-out-2324.google.com with SMTP id 2so1720167ywt.17 for <roger49@example.com>; Tue, 31 Mar 2009 19:53:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=0b2GfWx8/QEkoN3lr0ruqV8vHIV6E8nXt54a2HocFGs=; b=A25d1mODAJIUDInSKOBpHFxQGKf0ZzORDQiiPRnMhwJE3hiud5y4tPE2huHNq74xss 6QINSgUeeBUVgcwSDLjHG3WZpJcIBky7xWZI7Wt3nn6xtAw34CbYgDCvrfEV4rYKmyqM n6h2GfjdMU/4l6Q8SCn5uAA/Yk6jX44owVsOg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=uqpcAE4+oNh0FeLYmW63F+VHQPKgr83ov6mw+SzYw/+IH0iJAf6g4CuXY1mdMOUVxD oF21cTG+CapsMvZSXNr1yY6BohGPUnhC106ZhWl7lEPdR1HFRnT8DxraZu3UmWUSgTDv Wju7Bdhw/3P4vKZjuJ/VNgLUVeO3ElV1DF62s= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id h4mr1555901iba.15.1238554420877; Tue, 31 Mar 2009 19:53:40 -0700 (PDT) Date: Tue, 31 Mar 2009 19:53:40 -0700 Message-ID: <roger49@example.com> Subject: Struts 2.1.6 DateTimePicker From: satyanarayana katta <roger49@example.com> To: roger49@example.com Content-Type: multipart/alternative; boundary=0003255762ca4a99500466756c26 X-Virus-Checked: Checked by ClamAV on apache.org --0003255762ca4a99500466756c26 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi All, Does DateTimePicker has any way to disable a particular date or set of dates? I didn't find any parameters in the tag. I was looking at Dojo DatePicker and has parameter isDisabledDate. Don't we have something like that in sx:datetimepicker? For now I have used the DatePicker from the Dojo but was curious to know if there is one available with struts2 itself. Rgds, Satya --0003255762ca4a99500466756c26-- From roger49@example.com Wed Apr 01 06:39:29 2009 Return-Path: <roger49@example.com> Delivered-To: roger49@example.com Received: (qmail 82430 invoked from network); 1 Apr 2009 06:39:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2009 06:39:29 -0000 Received: (qmail 45719 invoked by uid 500); 1 Apr 2009 06:39:26 -0000 Delivered-To: roger49@example.com Received: (qmail 45659 invoked by uid 500); 1 Apr 2009 06:39:26 -0000 Mailing-List: contact roger49@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:roger49@example.com> List-Help: <mailto:roger49@example.com> List-Post: <mailto:roger49@example.com> List-Id: "Struts Users Mailing List" <user.struts.apache.org> Reply-To: "Struts Users Mailing List" <roger49@example.com> Delivered-To: mailing list roger49@example.com Received: (qmail 45649 invoked by uid 99); 1 Apr 2009 06:39:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 06:39:26 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO web15206.mail.cnb.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 01 Apr 2009 06:39:17 +0000 Received: (qmail 16163 invoked by uid 60001); 1 Apr 2009 06:38:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.cn; s=s1024; t=1238567934; bh=W6U0fum7H5ZjWPGj6+ZBBrSRLZDrk0iQFBX2QuYf/+s=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=b9/iKPx3ajxDZS+sdNmMzLv9wEYdO84E4EE7wDEWrq9cz9fjLsvwzZw77ZieCEGyII03NfeRJ/YdNDCnO8tiYVD71AKYV3paygWXYeQVBBYupj3SGm4OcRcv6HrzVAv0R/8+1mxuol7EL+EkCH/VDt+zZRqFSb+7fAKide90DVY= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.cn; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Oue/A2SW7v8JKud5ho0Vc+mQBmD/Ilbe8Jes7vhpOThKBlBAj7XeaAavFNoXdZc/CtRtm+3bQSzxzeqld/E3RpvUFxuwCy5uXGRGiGmVzJHck8uC5cAqHjsfakx4iKJdlGCBVOwnbdlRxQtHT2w5Ohv5VMRY/3cm5wtckvhZfJA=; Message-ID: <roger49@example.com> X-YMail-OSG: b3hyJuEVM1nCpTdUw6fzFvi.b6BMTDxEWlLPeb3d0kftQslHWcZmXEnOm4pVttMSlYtmNZazFCPkPKb3xobsOyIy7Z8X_s3a5BhzUZk8YC_IxaQOIxjbb6ot7ExsFzRnH454JKzMFaaCnoG4HUQR8o1eayAtvKFCvxi.gxXp9.C1xWLzbWztClGBtmUFNF_FRwTcbAo77J4YdtiifsqA8vmQi0v3.pzzdH0KC2PSoBRDNQ-- Received: from [83.161.120.155] by web15206.mail.cnb.yahoo.com via HTTP; Wed, 01 Apr 2009 14:38:54 CST X-Mailer: YahooMailClassic/5.1.20 YahooMailWebService/0.7.289.1 Date: Wed, 1 Apr 2009 14:38:54 +0800 (CST) From: Junhua gao <roger49@example.com> Subject: Re: jsp page not display data when using ModelDriven---class can get parameter from jsp file To: Struts Users Mailing List <roger49@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org the problem is action file can get data from jsp file,but jsp file can not = get data from action file,which means,after do some execution in action fil= e, jsp display blank,while, it should display some data. Thanks. public abstract class BaseActionS2 extends ActionSupport implements Session= Aware { =09protected static Logger logger =3D null; =09protected Map session; =09protected int licenseeID; =09protected UsersVO sessionUser=3Dnew UsersVO(); =09 =09public BaseActionS2(Class cls){ =09=09logger =3D Logger.getLogger(BaseActionS2.class.getName()); =09} =09 public BaseActionS2() { =09logger =3D Logger.getLogger(BaseActionS2.class.getName()); // logger =3D Logger.getLogger(this.getClass().getName()); } =09public void setSession(Map session) { =09=09this.session =3D session; =09} =09 =09public void setLicenseeID(int licenseeid){ =09=09this.licenseeID=3Dlicenseeid; =09=09 =09} =09public String execute() throws DefaultException{ =09=09 =09=09return SUCCESS; =09} =09 =09 =09 } --- 09=E5=B9=B44=E6=9C=881=E6=97=A5=EF=BC=8C=E5=91=A8=E4=B8=89, Musachy Bar= roso <roger49@example.com> =E5=86=99=E9=81=93=EF=BC=9A > =E5=8F=91=E4=BB=B6=E4=BA=BA: Musachy Barroso <roger49@example.com> > =E4=B8=BB=E9=A2=98: Re: jsp page not display data when using ModelDriven-= --class can get parameter from jsp file > =E6=94=B6=E4=BB=B6=E4=BA=BA: "Struts Users Mailing List" <roger49@example.com= che.org> > =E6=97=A5=E6=9C=9F: 2009=E5=B9=B44=E6=9C=881=E6=97=A5,=E5=91=A8=E4=B8=89,= =E4=B8=8A=E5=8D=882:19 > The answer is 42. If you explain what > the problem is, the answer might vary. >=20 > musachy >=20 > 2009/3/31 Junhua gao <roger49@example.com>: > > > >=C2=A0 public class SortTiersAction extends > BaseActionS2 implements ModelDriven { > >=C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0SortTierService=C2=A0 > sorttierservice =3D new SortTierService(); > >=C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0private SortTierVO > sorttiervo=C2=A0 =3D new SortTierVO(); > >=C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0public void > setModel(SortTierVO sorttiervo) { > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > =C2=A0=C2=A0=C2=A0this.sorttiervo =3D sorttiervo; > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 } > >=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0public Object > getModel() { > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 return > this.sorttiervo; > >=C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0} > >=C2=A0 =C2=A0 =C2=A0 public String execute() throws > DefaultException { > > > >=C2=A0 =C2=A0 =C2=A0 //do someting here; > > > >=C2=A0 =C2=A0 =C2=A0 } > > > > > > in struts.xml file > > > > <action name=3D"SortTierQueryAction" > class=3D"com.qic.system.action.SortTiersAction"> > >=C2=A0=C2=A0=C2=A0<result > name=3D"success">/test.jsp</result> > > </action> > > > > > > > > jsp file > > > > <s:form id=3D"sorttierform" > action=3D"SortTiersAction"> > > <select name=3D"sorttierID" id=3D"sorttierSelectID" > size=3D"12"/ width=3D"135"><br> > > <s:textfield name=3D"sorttierName" > id=3D"sorttierName"=C2=A0 label=3D"Name:"/><br> > > > > <s:textfield name=3D"sorttierRate" id=3D"sorttierRate" > label=3D"Rate:"/><br> > > <s:textfield name=3D"sorttierRatecase" > id=3D"sorttierRatecase" label=3D"Rate Case:"/> > > <s:checkbox name=3D"sorttierActive" > id=3D"sorttierActive" label=3D"Active?"/> > > <s:submit value=3D"Save"/> > > </s:form> > > > > > > > >=C2=A0 =C2=A0 =C2=A0 > ___________________________________________________________ > >=C2=A0 > =E5=A5=BD=E7=8E=A9=E8=B4=BA=E5=8D=A1=E7=AD=89=E4=BD=A0=E5=8F=91=EF=BC=8C= =E9=82=AE=E7=AE=B1=E8=B4=BA=E5=8D=A1=E5=85=A8=E6=96=B0=E4=B8=8A=E7=BA=BF=EF= =BC=81 > > http://card.mail.cn.yahoo.com/ > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: roger49@example.com > > For additional commands, e-mail: roger49@example.com > > > > >=20 >=20 >=20 > --=20 > "Hey you! Would you help me to carry the stone?" Pink > Floyd >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: roger49@example.com > For additional commands, e-mail: roger49@example.com >=20 >=0A=0A=0A ___________________________________________________________= =0A =E5=A5=BD=E7=8E=A9=E8=B4=BA=E5=8D=A1=E7=AD=89=E4=BD=A0=E5=8F=91=EF=BC= =8C=E9=82=AE=E7=AE=B1=E8=B4=BA=E5=8D=A1=E5=85=A8=E6=96=B0=E4=B8=8A=E7=BA=BF= =EF=BC=81 =0Ahttp://card.mail.cn.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: roger49@example.com For additional commands, e-mail: roger49@example.com From roger49@example.com Wed Apr 01 07:06:55 2009 Return-Path: <roger49@example.com> Delivered-To: roger49@example.com Received: (qmail 8316 invoked from network); 1 Apr 2009 07:06:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2009 07:06:55 -0000 Received: (qmail 84624 invoked by uid 500); 1 Apr 2009 07:06:52 -0000 Delivered-To: roger49@example.com Received: (qmail 84571 invoked by uid 500); 1 Apr 2009 07:06:52 -0000 Mailing-List: contact roger49@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:roger49@example.com> List-Help: <mailto:roger49@example.com> List-Post: <mailto:roger49@example.com> List-Id: "Struts Users Mailing List" <user.struts.apache.org> Reply-To: "Struts Users Mailing List" <roger49@example.com> Delivered-To: mailing list roger49@example.com Received: (qmail 84561 invoked by uid 99); 1 Apr 2009 07:06:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 07:06:45 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO feurio.synth.no) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 07:06:38 +0000 Received: from localhost (localhost [83.161.120.155]) by feurio.synth.no (Postfix) with ESMTP id AAB1E264082 for <roger49@example.com>; Wed, 1 Apr 2009 09:06:17 +0200 (CEST) X-Virus-Scanned: Debian roger49@example.com Received: from feurio.synth.no ([83.161.120.155]) by localhost (feurio.synth.no [83.161.120.155]) (amavisd-new, port 10024) with ESMTP id 78Odt1KOZ678 for <roger49@example.com>; Wed, 1 Apr 2009 09:06:16 +0200 (CEST) Received: from hnrk.local (ns.conduct.no [83.161.120.155]) by feurio.synth.no (Postfix) with ESMTPSA id D7F4826406D for <roger49@example.com>; Wed, 1 Apr 2009 09:06:16 +0200 (CEST) Message-ID: <roger49@example.com> Date: Wed, 01 Apr 2009 09:06:15 +0200 From: Henrik Brautaset Aronsen <roger49@example.com> User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b4pre) Gecko/20090329 Shredder/3.0b3pre MIME-Version: 1.0 To: Struts Users Mailing List <roger49@example.com> Subject: Re: Visible form validation missing after upgrade from 2.0.11 to 2.1.6 References: <roger49@example.com> <roger49@example.com> In-Reply-To: <roger49@example.com> Content-Type: multipart/alternative; boundary="------------090707050406000707090703" X-Virus-Checked: Checked by ClamAV on apache.org --------------090707050406000707090703 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 31-03-09 16:15, Henrik Brautaset Aronsen wrote: > I've done some more digging: I can see the error messages by using > <s:fielderror/> [1], but why aren't they automatically attached to the > <s:textfield> like they were in Struts 2.0.x? I managed to solve my problem. I believe it's a bug, and I've created it as WW-3069 [1]. Here's the bug report: After upgrading from Struts 2.0.11 to 2.1.6, fieldErrors weren't displayed next to form fields any more. The validation still worked, because I could still see the errors by issuing a <s:fielderror/>. My form is a value on the action, and is addressed like this: <s:textfield label="Your e-mail address" name="form.email" theme="mytheme" /> I noticed that to access a separate value in fieldError in 2.1.6, I had to chop off "form.": <s:fielderror fieldName="form.email" /> <!-- doesn't show anything --> <s:fielderror fieldName="email" /> <!-- shows the error--> Now, to be able to show my error using my template, I had to add an ID to my textfield: <s:textfield label="Your e-mail address" id="email" name="form.email" theme="mytheme" /> Then I had to change the default hasErrorField assignment in the controlheader.tpl template: <#assign hasFieldErrors = parameters.name?? && fieldErrors?? && fieldErrors[parameters.name]??/> <!-- does not work --> <#assign hasFieldErrors = parameters.id?? && fieldErrors?? && fieldErrors[parameters.id]??/> <!-- works as intended --> And change way I fetched errors in my controlfooter.tpl: <#list fieldErrors[parameters.name] as error> <!-- does not work --> <#list fieldErrors[parameters.id] as error> <!-- works --> Voila! I can see field errors again. Just to summarize: To access a fieldError, I have to manually strip "form."from "form.email". I also have to set an additional ID on my form fields (with the stripped value) to be able to access it from my template. Is this the intended behaviour? Best regards, Henrik [1] https://issues.apache.org/struts/browse/WW-3069 --------------090707050406000707090703-- From roger49@example.com Wed Apr 01 10:49:35 2009 Return-Path: <roger49@example.com> Delivered-To: roger49@example.com Received: (qmail 36640 invoked from network); 1 Apr 2009 10:49:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2009 10:49:35 -0000 Received: (qmail 74250 invoked by uid 500); 1 Apr 2009 10:49:31 -0000 Delivered-To: roger49@example.com Received: (qmail 74217 invoked by uid 500); 1 Apr 2009 10:49:31 -0000 Mailing-List: contact roger49@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:roger49@example.com> List-Help: <mailto:roger49@example.com> List-Post: <mailto:roger49@example.com> List-Id: "Struts Users Mailing List" <user.struts.apache.org> Reply-To: "Struts Users Mailing List" <roger49@example.com> Delivered-To: mailing list roger49@example.com Received: (qmail 74207 invoked by uid 99); 1 Apr 2009 10:49:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 10:49:31 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO web15207.mail.cnb.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 01 Apr 2009 10:49:21 +0000 Received: (qmail 24212 invoked by uid 60001); 1 Apr 2009 10:48:57 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.cn; s=s1024; t=1238582936; bh=6PkTCErOIDIV2dO80FghNjYnfl5dpqO3+aBZmt8uu3w=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=dVA8OS+mKKCWlzoJDu2za09+7BKoC26HiV0WyCdwB4ZI0xkkSj0hLZz04qJCTrWraU69FFlo8eKT7uMIcTM++4XZWRzy+wuLzctp7tRuAldYv8pGt1heI7MdiaYiCqp7ojfU165K+H8XqRKP8GMDTItvH3E2kLVOGd9ua/FRzgE= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.cn; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=u6+tAFFY5tH/zxE7oh82Ggafz3NJBXaDQLG09oGEJuQc3lAqYMKQxIREJFOhJp/A568htfwGKBmKFG769IqI7fXlmx82rPCtK4OMSJtFrgNytFaCCrhy5I0n1payipkZywZ0Attn4WrAdCI+RrfiV4Y2JkUpcJSDRNfJYjHMZ8Y=; Message-ID: <roger49@example.com> X-YMail-OSG: gzNJe7YVM1nnTR0nn9cttW8m5sfVBsl.Kd5F4.7kUgXf._14pXtoIXhwUk4VwNVc_OD1Udip1tgskPOXrLsUO1vODjwSA2vybrd8g0i89UAxfRScsTG4KjkmPecYi1QRv3AtUyZfk58eIhbrqUjgoEtXZwdoufMTAlFughugROZtTNJG1JR90_GG0dOTl84py3zRtCZKIYetHfvYUsaqUM0iUQ2lraZx856uQMHPHvA5BA-- Received: from [83.161.120.155] by web15207.mail.cnb.yahoo.com via HTTP; Wed, 01 Apr 2009 18:48:56 CST X-Mailer: YahooMailClassic/5.2.15 YahooMailWebService/0.7.289.1 Date: Wed, 1 Apr 2009 18:48:56 +0800 (CST) From: Junhua gao <roger49@example.com> Subject: <s:select list= > The requested list key 'menuList' could not be resolved as a collection/array/map/ To: Struts Users Mailing List <roger49@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org who can please help me? =20 select can not work. =20 jsp file <s:select name=3D"menuID" list=3D"menuList" listKey=3D"menuID" listValue= =3D"menuName" id=3D"menuSelectID" size=3D"12"/><br> action file private List=09menuList=09=3D new ArrayList<Map>(); =09public void setMenuList(List menuList) { =09=09this.menuList =3D menuList; =09} =09public List getMenuList() { =09=09return this.menuList; =09} public String execute() throws DefaultException {//get MenuList ...... Map menuMap =3D new HashMap(); =09=09 Collection menus =3D new ArrayList(); menus=3D...;=20 Iterator it =3D menus.iterator(); =09=09while (it.hasNext()) { =09=09=09vo =3D (MenuVO) it.next(); =09=09=09menuMap =3D new HashMap(); =09=09=09menuMap.put("menuID", vo.getMenuID()); =09=09=09menuMap.put("menuName", vo.getMenuName()); =09=09=09paymethodList.add(menuMap); =09=09} =09=09setMenuList(paymethodList); } struts.xml <action name=3D"MenusAction" class=3D"com.qic.system.action.MenusAction"> <result name=3D"success">Menu.jsp</result> <result name=3D"error">Menu.jsp</result> </action> =0A=0A=0A ________________________________________________= ___________ =0A =BA=C3=CD=E6=BA=D8=BF=A8=B5=C8=C4=E3=B7=A2=A3=AC=D3=CA=CF= =E4=BA=D8=BF=A8=C8=AB=D0=C2=C9=CF=CF=DF=A3=A1 =0Ahttp://card.mail.cn.yahoo.= com/ --------------------------------------------------------------------- To unsubscribe, e-mail: roger49@example.com For additional commands, e-mail: roger49@example.com From roger49@example.com Wed Apr 01 11:04:30 2009 Return-Path: <roger49@example.com> Delivered-To: roger49@example.com Received: (qmail 43208 invoked from network); 1 Apr 2009 11:04:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2009 11:04:30 -0000 Received: (qmail 91484 invoked by uid 500); 1 Apr 2009 11:04:27 -0000 Delivered-To: roger49@example.com Received: (qmail 91427 invoked by uid 500); 1 Apr 2009 11:04:27 -0000 Mailing-List: contact roger49@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:roger49@example.com> List-Help: <mailto:roger49@example.com> List-Post: <mailto:roger49@example.com> List-Id: "Struts Users Mailing List" <user.struts.apache.org> Reply-To: "Struts Users Mailing List" <roger49@example.com> Delivered-To: mailing list roger49@example.com Received: (qmail 91417 invoked by uid 99); 1 Apr 2009 11:04:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 11:04:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of roger49@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-fx0-f163.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 11:04:20 +0000 Received: by fxm7 with SMTP id 7so3431039fxm.11 for <roger49@example.com>; Wed, 01 Apr 2009 04:03:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=z/mvstoDWzuMjxe16bZcSluyf67EWxdG874WGuIQqSU=; b=KvmbvePR8VYYYf5bqERZenALilL3Jsy8DbAvKLCQSB20vtpPNNxjGJ5hvLN5fGLodU R0o3CO2zWTJxe88MJZ4dMJE71VkevLpPeklv/YqsRp0xjuaACa6OOSxfW0z5ITlvCx6f DACrp/Fn5vANNUrqBhIVSy6dyLypB55ab7Do4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=FiTecNpg/o/llRSlZCLOVBMy+YZTrxsT6wEO9wOu4pqYNKisYHUQ9VsSUGIPu1zN9h mv8P+BMWj6C3eb3NgDszDtnlWGtCR3SLlWOq4TQcMPuDfSvqhjodliZARmq4iCQqwBf0 755UcHsG4rFwofvCr5k67u1SAnk1J5Qlz4n8g= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id a3mr2749060bkg.123.1238583839270; Wed, 01 Apr 2009 04:03:59 -0700 (PDT) Date: Wed, 1 Apr 2009 14:03:59 +0300 Message-ID: <roger49@example.com> Subject: possible memory leak From: Bogdan Serban <roger49@example.com> To: roger49@example.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I have upgraded from 2.0.9 to 2.1.2 and after some tests i saw that the jvm increased memory usage from 16-19% to 85%. I've made a heap dump and i saw that i have a lot of freemarker objects into memory, it seems that beans are cached and never released, i had the same settings for the 2.0.9 but never experienced such behavior until now. I have compared this with an old heap dump and i saw that no freemarker class had more than 1,000 count. My freemarker settings: struts.freemarker.templatesCache=true struts.freemarker.beanwrapperCache=true struts.freemarker.wrapper.altMap=true Size Count Class description ------------------------------------------------------- 5246528 81977 freemarker.ext.util.ModelCache$ModelReference 4943352 37945 java.lang.Object[] 3934896 81977 freemarker.ext.util.IdentityHashMap$Entry 2653464 4948 * MethodDataKlass 2644952 17401 java.lang.reflect.Method 2450784 25529 freemarker.ext.jsp.TagTransformModel$TagWriter 2444240 61106 freemarker.ext.beans.StringModel 1986304 31036 java.util.HashMap 1633280 9280 java.lang.Class 1572880 1 freemarker.ext.util.IdentityHashMap$Entry[] 1494632 8123 org.apache.struts2.views.jsp.URLTag 1412320 17654 org.apache.tomcat.util.buf.MessageBytes 1301472 10722 java.util.Hashtable$Entry[] 1227240 30681 java.util.ArrayList +1-623-717-1836 org.apache.tomcat.util.buf.ByteChunk +1-623-717-1836 java.lang.Object[] 1137376 24782 java.lang.String[] 1048264 18719 freemarker.ext.jsp.JspWriterAdapter --------------------------------------------------------------------- To unsubscribe, e-mail: roger49@example.com For additional commands, e-mail: roger49@example.com From roger49@example.com Wed Apr 01 12:08:22 2009 Return-Path: <roger49@example.com> Delivered-To: roger49@example.com Received: (qmail 74029 invoked from network); 1 Apr 2009 12:08:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2009 12:08:22 -0000 Received: (qmail 75563 invoked by uid 500); 1 Apr 2009 12:08:18 -0000 Delivered-To: roger49@example.com Received: (qmail 75525 invoked by uid 500); 1 Apr 2009 12:08:18 -0000 Mailing-List: contact roger49@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:roger49@example.com> List-Help: <mailto:roger49@example.com> List-Post: <mailto:roger49@example.com> List-Id: "Struts Users Mailing List" <user.struts.apache.org> Reply-To: "Struts Users Mailing List" <roger49@example.com> Delivered-To: mailing list roger49@example.com Received: (qmail 75515 invoked by uid 99); 1 Apr 2009 12:08:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 12:08:18 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO mx2.athnic.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 12:08:09 +0000 Received: from [83.161.120.155] (host86-177-112-86.range86-177.btcentralplus.com [83.161.120.155]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx2.athnic.net (Postfix) with ESMTP id 5E33B328943 for <roger49@example.com>; Wed, 1 Apr 2009 13:07:47 +0100 (BST) Message-ID: <roger49@example.com> Date: Wed, 01 Apr 2009 13:07:45 +0100 From: Adam Hardy <roger49@example.com> User-Agent: Icedove 83.161.120.155eol (X11/20080724) MIME-Version: 1.0 To: Struts Users Mailing List <roger49@example.com> Subject: Re: post-redirect-get in Firefox References: <roger49@example.com> <roger49@example.com> <roger49@example.com> In-Reply-To: <roger49@example.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Found out how to reproduce it. If I try over and over to submit a form, it fails several times and is repeatedly redisplayed with an error message. In my case "primary key is duplicate" because I keep forgetting to update it manually when I mess around like this in dev. Since the primary key is incremented each time, on the fifth time the primary key reaches 5 and is valid in my DB, so it submits. This is redirected to the list of items, and it displays the "status saved" message. If I then hit refresh, it does it again! The resubmit dialog shows and if I hit OK it hits the DB again and does another redirect and another confirmation status saved. Strange one. A firefox bug probably. I'm going to upgrade to FF3 soon so I'll find out if the issue has been resolved. Regards Adam Adam Hardy on 31/03/09 12:18, wrote: > GET HTTP 302 according to httpheaders > > It looks fine and should be fine, assuming the struts2 redirect > resulttype is OK. > > But somehow firefox seems to be too clever and appears to be breaking > the standard browser contract to replace the POST with the GET > > To confuse me more, it is only doing this on one server on my dev box. > The same page on the deployment server works fine - arg! > > Actually now that I check, it's not doing it on the dev server either. > It looks like I can't reproduce it. How annoying! > > So it seems to be intermittent - possibly something bad that I > intermittently do without realising. But I did spend an hour trying to > solve it last night without any luck. > > Martin Gainty on 31/03/09 03:46, wrote: >> In Firefox >> so if I am on Investran and am redirected to cyberspaceroad >> I then (login) to <welcome-file> on cyberspaceroad on refresh I am >> redirected to original Investran >> >> Can you see which redirect code is returned (301,307) and which >> method(POST/GET) >> ? >>> Date: Tue, 31 Mar 2009 02:59:01 +0100 >>> From: roger49@example.com >>> To: roger49@example.com >>> Subject: post-redirect-get in Firefox >>> >>> >>> I think this is likely to be nothing to do with struts but rather >>> with firefox, however trawling the net for firefox info on the >>> subject hasn't yielded anything interesting. >>> >>> I noticed a while back that my redirects are not replacing the >>> history in the browser - firefox in particular, but not opera. >>> >>> If I submit a form, then the redirect response is retured and the >>> browser fetches the appropriate page. >>> >>> Normally if I hit Refresh, it should just refetch the last page. >>> However Firefox is ignoring the redirect and actually resubmitting >>> the form after showing the warning / confirmation dialog. --------------------------------------------------------------------- To unsubscribe, e-mail: roger49@example.com For additional commands, e-mail: roger49@example.com From roger49@example.com Wed Apr 01 13:12:53 2009 Return-Path: <roger49@example.com> Delivered-To: roger49@example.com Received: (qmail 15642 invoked from network); 1 Apr 2009 13:12:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2009 13:12:53 -0000 Received: (qmail 69225 invoked by uid 500); 1 Apr 2009 13:12:50 -0000 Delivered-To: roger49@example.com Received: (qmail 69170 invoked by uid 500); 1 Apr 2009 13:12:49 -0000 Mailing-List: contact roger49@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:roger49@example.com> List-Help: <mailto:roger49@example.com> List-Post: <mailto:roger49@example.com> List-Id: "Struts Users Mailing List" <user.struts.apache.org> Reply-To: "Struts Users Mailing List" <roger49@example.com> Delivered-To: mailing list roger49@example.com Received: (qmail 69160 invoked by uid 99); 1 Apr 2009 13:12:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 13:12:49 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO nashua.skillsoft.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 13:12:43 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Freemarker ServletUrlRenderer.renderFormUrl NPE moving from 2.0.14 to 2.1.16 Date: Wed, 1 Apr 2009 09:12:22 -0400 Message-ID: <roger49@example.com> In-Reply-To: <roger49@example.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Freemarker ServletUrlRenderer.renderFormUrl NPE moving from 2.0.14 to 2.1.16 Thread-Index: AcmyQN4LZNAocpAFQ3eiweYmkh0wKAAiTcFQ References: <roger49@example.com> <roger49@example.com> From: "Derrick Koes" <roger49@example.com> To: "Struts Users Mailing List" <roger49@example.com> X-Virus-Checked: Checked by ClamAV on apache.org Martin, I don't think I understand your question. I have a freemarker template. There is no jsp involved. The problem is in rendering the struts form tag (in freemarker this is @s.form). If I use this, then I get the NPE and nothing renders. <@s.form method=3D"POST" name=3D"newuser" theme=3D"simple"> If I simply change to the HTML form like below then everything renders without an NPE. <form method=3D"POST" name=3D"newuser"> So, I believe I must have some missing configuration or there is a defect in 2.1.16. Do you have any ideas? Thanks, Derrick -----Original Message----- From: Martin Gainty [mailto:roger49@example.com]=20 Sent: Tuesday, March 31, 2009 4:39 PM To: Struts Users Mailing List Subject: RE: ServletUrlRenderer.renderFormUrl NPE moving from 2.0.14 to 2.1.16 Hi Derrick- could you check your jsp to determine where you push nameValue onto the OGNL ValueStack? Martin Gainty=20 ______________________________________________=20 Verzicht und Vertraulichkeitanmerkung / Disclaimer and confidentiality note=20 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. This message is confidential and may be privileged. If you are not the intended recipient, we kindly ask you to please inform the sender. Any unauthorised dissemination or copying hereof is prohibited. This message serves for information purposes only and shall not have any legally binding effect. Given that e-mails can easily be subject to manipulation, we can not accept any liability for the content provided. > Subject: ServletUrlRenderer.renderFormUrl NPE moving from 2.0.14 to 2.1.16 > Date: Tue, 31 Mar 2009 15:58:09 -0400 > From: roger49@example.com > To: roger49@example.com >=20 > I'm upgrading to use the latest best available struts 2 (I use > freemarker in both 2.0.14 and the new 2.1.16) and I am hitting a problem > with the form tag I believe. >=20 > =20 >=20 > ServletUrlRenderer.renderFormUrl method accesses the actionMapper > member, but this member is null. Hence, I get the stack trace NPE > listed. >=20 > Am I missing something in configuration? How/where is the actionMapper > as used on line 128 supposed to be initialized? >=20 > =20 >=20 > Relevant parts are: >=20 > =20 >=20 > <interceptor-stack name=3D"skillportAdminValidationStack"> >=20 > <interceptor-ref name=3D"timer"/> >=20 > <interceptor-ref name=3D"exception"/> >=20 > <!-- skillport must be before servletConfig --> >=20 > <interceptor-ref name=3D"skillport"/> >=20 > <interceptor-ref name=3D"servletConfig"/> >=20 > <interceptor-ref name=3D"prepare"/> >=20 > <interceptor-ref name=3D"i18n"/> >=20 > <interceptor-ref name=3D"chain"/> >=20 > <interceptor-ref name=3D"debugging"/> >=20 > <interceptor-ref name=3D"profiling"/> >=20 > <interceptor-ref name=3D"scopedModelDriven"/> >=20 > <interceptor-ref name=3D"modelDriven"/> >=20 > <interceptor-ref name=3D"fileUpload"/> >=20 > <interceptor-ref name=3D"checkbox"/> >=20 > <interceptor-ref name=3D"staticParams"/> >=20 > <interceptor-ref name=3D"params"> >=20 > <param name=3D"excludeParams">dojo\..*</param> >=20 > </interceptor-ref> >=20 > <interceptor-ref name=3D"conversionError"/> >=20 > <interceptor-ref name=3D"validation"> >=20 > <param name=3D"excludeMethods">advGroup, help</param> >=20 > </interceptor-ref> >=20 > <interceptor-ref name=3D"workflow"> >=20 > <param name=3D"excludeMethods">advGroup, help</param> >=20 > </interceptor-ref> >=20 > </interceptor-stack> >=20 > =20 >=20 > =20 >=20 > <package name=3D"admin" namespace=3D"/admin" = extends=3D"skillport-default"> >=20 > =20 >=20 > =20 >=20 > <action name=3D"NewUser" > class=3D"com.skillsoft.skillport.fe.admin.userandgroup.UserAction" > method=3D"setup"> >=20 > <param name=3D"pageInfo">user</param> >=20 > <result name=3D"success" type=3D"freemarker"> >=20 > <param > = name=3D"location">/WEB-INF/ftl/admin/userandgroup/usercreate.ftl</param> >=20 > </result> >=20 > </action> >=20 > =20 >=20 > =20 >=20 > =20 >=20 > java.lang.NullPointerException >=20 > at > org.apache.struts2.components.ServletUrlRenderer.renderFormUrl(ServletUr > lRenderer.java:128) >=20 > at > org.apache.struts2.components.PortletUrlRenderer.renderFormUrl(PortletUr > lRenderer.java:123) >=20 > at > org.apache.struts2.components.Form.populateComponentHtmlId(Form.java:228 > ) >=20 > at > org.apache.struts2.components.UIBean.evaluateParams(UIBean.java:784) >=20 > at > org.apache.struts2.components.ClosingUIBean.start(ClosingUIBean.java:57) >=20 > at > org.apache.struts2.views.freemarker.tags.CallbackWriter.onStart(Callback > Writer.java:73) >=20 > at freemarker.core.Environment.visit(Environment.java:294) >=20 > at freemarker.core.UnifiedCall.accept(UnifiedCall.java:130) >=20 > at freemarker.core.Environment.visit(Environment.java:208) >=20 > at freemarker.core.MixedContent.accept(MixedContent.java:92) >=20 > at freemarker.core.Environment.visit(Environment.java:208) >=20 > at freemarker.core.Environment.process(Environment.java:188) >=20 > at freemarker.template.Template.process(Template.java:237) >=20 _________________________________________________________________ Internet Explorer 8 - Get your Hotmail Accelerated. Download free! http://clk.atdmt.com/MRT/go/141323790/direct/01/ --------------------------------------------------------------------- To unsubscribe, e-mail: roger49@example.com For additional commands, e-mail: roger49@example.com From roger49@example.com Wed Apr 01 13:31:43 2009 Return-Path: <roger49@example.com> Delivered-To: roger49@example.com Received: (qmail 29653 invoked from network); 1 Apr 2009 13:31:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2009 13:31:43 -0000 Received: (qmail 2334 invoked by uid 500); 1 Apr 2009 13:31:40 -0000 Delivered-To: roger49@example.com Received: (qmail 2286 invoked by uid 500); 1 Apr 2009 13:31:40 -0000 Mailing-List: contact roger49@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:roger49@example.com> List-Help: <mailto:roger49@example.com> List-Post: <mailto:roger49@example.com> List-Id: "Struts Users Mailing List" <user.struts.apache.org> Reply-To: "Struts Users Mailing List" <roger49@example.com> Delivered-To: mailing list roger49@example.com Received: (qmail 2276 invoked by uid 99); 1 Apr 2009 13:31:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 13:31:40 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of roger49@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO yw-out-2324.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 13:31:32 +0000 Received: by yw-out-2324.google.com with SMTP id 2so22263ywt.17 for <roger49@example.com>; Wed, 01 Apr 2009 06:31:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=NJzw7iIzRmizdynLKQc0WYKrY66I4e9NLuqdKSY+wmE=; b=Dp6/JwtGrOLF1TGMYRHYbbt0Lgh3iLXH/f8abgHiDhOOnYIRBYs32wOg5iBcBAOFSj n18aGE3nz3BULdsNhYxczMI8y9LY/8OkL8Fsd2IdkQ0/Dx0IMp1lylSrI7zmEbEK0WIX VjsTFt2NKD/1eeI/+pVlZ9kcwCafF45/SX5qU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Qef6EnxIbi+kSovf8vlfP398gsh8QbXQVT5GF8FQggXZ3zVYBZTscoHenl5U15Kepg nE9xSGSrp5wlL3X1GHbcKlEktGcOiDlC/6Sz9SfiR5lRg5nV6tYWLrNJfJc8jFz3Sgyj k3+OTHSZodC2KaldidBSZ5j9g+Us3I69dDhEY= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id v6mr1655228ibc.22.1238592670942; Wed, 01 Apr 2009 06:31:10 -0700 (PDT) In-Reply-To: <roger49@example.com> References: <roger49@example.com> Date: Wed, 1 Apr 2009 09:31:10 -0400 Message-ID: <roger49@example.com> Subject: Re: possible memory leak From: Musachy Barroso <roger49@example.com> To: Struts Users Mailing List <roger49@example.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org A new version of FreeMarker is used with 2.1.x, can you downgrade it to the version you had before and see if the problem is still there? thanks musachy On Wed, Apr 1, 2009 at 7:03 AM, Bogdan Serban <roger49@example.com> wrote: > Hi, > > I have upgraded from 2.0.9 to 2.1.2 and after some tests i saw that > the jvm increased memory usage from 16-19% to 85%. I've made a heap > dump and i saw that i have a lot of freemarker objects into memory, it > seems that beans are cached and never released, i had the same > settings for the 2.0.9 but never experienced such behavior until now. > I have compared this with an old heap dump and i saw that no > freemarker class had more than 1,000 count. > > My freemarker settings: > struts.freemarker.templatesCache=3Dtrue > struts.freemarker.beanwrapperCache=3Dtrue > struts.freemarker.wrapper.altMap=3Dtrue > > Size =A0 =A0Count =A0 Class description > ------------------------------------------------------- > 5246528 81977 =A0 freemarker.ext.util.ModelCache$ModelReference > 4943352 37945 =A0 java.lang.Object[] > 3934896 81977 =A0 freemarker.ext.util.IdentityHashMap$Entry > 2653464 4948 =A0 =A0* MethodDataKlass > 2644952 17401 =A0 java.lang.reflect.Method > 2450784 25529 =A0 freemarker.ext.jsp.TagTransformModel$TagWriter > 2444240 61106 =A0 freemarker.ext.beans.StringModel > 1986304 31036 =A0 java.util.HashMap > 1633280 9280 =A0 =A0java.lang.Class > 1572880 1 =A0 =A0 =A0 freemarker.ext.util.IdentityHashMap$Entry[] > 1494632 8123 =A0 =A0org.apache.struts2.views.jsp.URLTag > 1412320 17654 =A0 org.apache.tomcat.util.buf.MessageBytes > 1301472 10722 =A0 java.util.Hashtable$Entry[] > 1227240 30681 =A0 java.util.ArrayList > +1-623-717-1836 =A0 org.apache.tomcat.util.buf.ByteChunk > +1-623-717-1836 =A0 java.lang.Object[] > 1137376 24782 =A0 java.lang.String[] > 1048264 18719 =A0 freemarker.ext.jsp.JspWriterAdapter > > --------------------------------------------------------------------- > To unsubscribe, e-mail: roger49@example.com > For additional commands, e-mail: roger49@example.com > > --=20 "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: roger49@example.com For additional commands, e-mail: roger49@example.com From roger49@example.com Wed Apr 01 14:49:43 2009 Return-Path: <roger49@example.com> Delivered-To: roger49@example.com Received: (qmail 89076 invoked from network); 1 Apr 2009 14:49:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2009 14:49:43 -0000 Received: (qmail 84584 invoked by uid 500); 1 Apr 2009 14:49:39 -0000 Delivered-To: roger49@example.com Received: (qmail 84549 invoked by uid 500); 1 Apr 2009 14:49:39 -0000 Mailing-List: contact roger49@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:roger49@example.com> List-Help: <mailto:roger49@example.com> List-Post: <mailto:roger49@example.com> List-Id: "Struts Users Mailing List" <user.struts.apache.org> Reply-To: "Struts Users Mailing List" <roger49@example.com> Delivered-To: mailing list roger49@example.com Received: (qmail 84539 invoked by uid 99); 1 Apr 2009 14:49:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 14:49:39 +0000 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of roger49@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 14:49:30 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <roger49@example.com>) id 1Lp1kb-0002AP-83 for roger49@example.com; Wed, 01 Apr 2009 07:49:09 -0700 Message-ID: <roger49@example.com> Date: Wed, 1 Apr 2009 07:49:09 -0700 (PDT) From: laredotornado <roger49@example.com> To: roger49@example.com Subject: How do I execute this action servlet on startup? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: roger49@example.com X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm using Struts 1.3 on WebLogic 9.2.2. I have this defined in my struts-config.xml file: <action path="/refresh2" type="com.myco.regui.struts.refresh.RefreshAction" scope="request" validate="false"> </action> This servlet takes no parameters. How do I get this to run upon application startup? Thanks, - Dave -- View this message in context: http://www.nabble.com/How-do-I-execute-this-action-servlet-on-startup--tp22828237p22828237.html Sent from the Struts - User mailing list roger49@example.com. --------------------------------------------------------------------- To unsubscribe, e-mail: roger49@example.com For additional commands, e-mail: roger49@example.com From roger49@example.com Wed Apr 01 15:32:06 2009 Return-Path: <roger49@example.com> Delivered-To: roger49@example.com Received: (qmail 10391 invoked from network); 1 Apr 2009 15:32:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2009 15:32:06 -0000 Received: (qmail 6061 invoked by uid 500); 1 Apr 2009 15:32:02 -0000 Delivered-To: roger49@example.com Received: (qmail 6011 invoked by uid 500); 1 Apr 2009 15:32:02 -0000 Mailing-List: contact roger49@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:roger49@example.com> List-Help: <mailto:roger49@example.com> List-Post: <mailto:roger49@example.com> List-Id: "Struts Users Mailing List" <user.struts.apache.org> Reply-To: "Struts Users Mailing List" <roger49@example.com> Delivered-To: mailing list roger49@example.com Received: (qmail 6001 invoked by uid 99); 1 Apr 2009 15:32:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 15:32:02 +0000 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,LOW_PRICE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of roger49@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO imr-d01.mx.aol.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 15:31:51 +0000 Received: from roger49@example.com by imr-d01.mx.aol.com (mail_out_v39.1.) id t.d3c.3ea620ca (37140) for <roger49@example.com>; Wed, 1 Apr 2009 11:30:27 -0400 (EDT) Received: from smtprly-db01.mx.aol.com (smtprly-db01.mx.aol.com [83.161.120.155]) by cia-ma03.mx.aol.com (v123.3) with ESMTP id MAILCIAMA032-5bc349d3888c7d; Wed, 01 Apr 2009 11:30:30 -0400 Received: from WEBMAIL-DC20 (webmail-dc20.webmail.aol.com [83.161.120.155]) by smtprly-db01.mx.aol.com (v123.3) with ESMTP id MAILSMTPRLYDB012-5bc349d3888c7d; Wed, 01 Apr 2009 11:30:20 -0400 References: <roger49@example.com> <roger49@example.com> <roger49@example.com> <1237990740.7016.5.camel@localhost> <roger49@example.com> <roger49@example.com> <roger49@example.com> <roger49@example.com> <roger49@example.com> <roger49@example.com> <roger49@example.com> To: roger49@example.com Subject: Re: ExecuteAndWaitInterceptor not working (2.1.6) Date: Wed, 01 Apr 2009 11:30:20 -0400 X-AOL-IP: 83.161.120.155 In-Reply-To: <roger49@example.com> X-MB-Message-Source: WebUI MIME-Version: 1.0 From: roger49@example.com X-MB-Message-Type: User Content-Type: multipart/alternative; boundary="--------MB_8CB80F5E6CEB88E_7AC_777A_WEBMAIL-DC20.sysops.aol.com" X-Mailer: AOL Webmail 42169-STANDARD Received: from 83.161.120.155 by WEBMAIL-DC20.sysops.aol.com (83.161.120.155) with HTTP (WebMailUI); Wed, 01 Apr 2009 11:30:20 -0400 Message-Id: <roger49@example.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Flag: NO ----------MB_8CB80F5E6CEB88E_7AC_777A_WEBMAIL-DC20.sysops.aol.com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" Will do. Chris -----Original Message----- From: Musachy Barroso <roger49@example.com> To: Struts Users Mailing List <roger49@example.com> Sent: Tue, 31 Mar 2009 11:09 am Subject: Re: ExecuteAndWaitInterceptor not working (2.1.6) Add the full stack trace and as much information as possible. thanks musachy On Tue, Mar 31, 2009 at 10:58 AM, Dale Newfield <roger49@example.com> wrote: > roger49@example.com wrote: >> >> Exactly -- used to work in 2.0.x but must have broken in the transition. > > Please create a JIRA issue for this. > > -Dale > > --------------------------------------------------------------------- > To unsubscribe, e-mail: roger49@example.com > For additional commands, e-mail: roger49@example.com > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: roger49@example.com For additional commands, e-mail: roger49@example.com ----------MB_8CB80F5E6CEB88E_7AC_777A_WEBMAIL-DC20.sysops.aol.com-- From roger49@example.com Wed Apr 01 15:36:27 2009 Return-Path: <roger49@example.com> Delivered-To: roger49@example.com Received: (qmail 12811 invoked from network); 1 Apr 2009 15:36:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2009 15:36:27 -0000 Received: (qmail 20594 invoked by uid 500); 1 Apr 2009 15:36:23 -0000 Delivered-To: roger49@example.com Received: (qmail 20560 invoked by uid 500); 1 Apr 2009 15:36:23 -0000 Mailing-List: contact roger49@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:roger49@example.com> List-Help: <mailto:roger49@example.com> List-Post: <mailto:roger49@example.com> List-Id: "Struts Users Mailing List" <user.struts.apache.org> Reply-To: "Struts Users Mailing List" <roger49@example.com> Delivered-To: mailing list roger49@example.com Received: (qmail 20550 invoked by uid 99); 1 Apr 2009 15:36:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 15:36:23 +0000 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,LOW_PRICE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of roger49@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO imo-m19.mx.aol.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 15:36:12 +0000 Received: from roger49@example.com by imo-m19.mx.aol.com (mail_out_v39.1.) id t.c09.59d7ea1c (37050) for <roger49@example.com>; Wed, 1 Apr 2009 11:35:49 -0400 (EDT) Received: from smtprly-db01.mx.aol.com (smtprly-db01.mx.aol.com [83.161.120.155]) by cia-db03.mx.aol.com (v123.3) with ESMTP id MAILCIADB038-5bc549d389c835b; Wed, 01 Apr 2009 11:35:49 -0400 Received: from WEBMAIL-DC20 (webmail-dc20.webmail.aol.com [83.161.120.155]) by smtprly-db01.mx.aol.com (v123.3) with ESMTP id MAILSMTPRLYDB014-5bc549d389c835b; Wed, 01 Apr 2009 11:35:36 -0400 References: <roger49@example.com> <roger49@example.com> To: roger49@example.com Subject: Action an overused term? Date: Wed, 01 Apr 2009 11:35:36 -0400 X-AOL-IP: 83.161.120.155 In-Reply-To: <roger49@example.com> X-MB-Message-Source: WebUI MIME-Version: 1.0 From: roger49@example.com X-MB-Message-Type: User Content-Type: multipart/alternative; boundary="--------MB_8CB80F6A33FB7FE_7AC_7864_WEBMAIL-DC20.sysops.aol.com" X-Mailer: AOL Webmail 42169-STANDARD Received: from 83.161.120.155 by WEBMAIL-DC20.sysops.aol.com (83.161.120.155) with HTTP (WebMailUI); Wed, 01 Apr 2009 11:35:36 -0400 Message-Id: <roger49@example.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Flag: NO ----------MB_8CB80F6A33FB7FE_7AC_7864_WEBMAIL-DC20.sysops.aol.com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" We are at the point where in many cases we will want an action to 1. implement Action (for configuration by convention purposes) and also 2. use the @Action annotation So we are faced with either using fully qualified names for one of the 'Action's or taking the route of extending ActionSupport and losing the chance to extend anything else. Perhaps in later versions we could have fewer things called Action? Chris M ----------MB_8CB80F6A33FB7FE_7AC_7864_WEBMAIL-DC20.sysops.aol.com-- From roger49@example.com Wed Apr 01 15:40:55 2009 Return-Path: <roger49@example.com> Delivered-To: roger49@example.com Received: (qmail 14700 invoked from network); 1 Apr 2009 15:40:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2009 15:40:55 -0000 Received: (qmail 31999 invoked by uid 500); 1 Apr 2009 15:40:52 -0000 Delivered-To: roger49@example.com Received: (qmail 31965 invoked by uid 500); 1 Apr 2009 15:40:51 -0000 Mailing-List: contact roger49@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:roger49@example.com> List-Help: <mailto:roger49@example.com> List-Post: <mailto:roger49@example.com> List-Id: "Struts Users Mailing List" <user.struts.apache.org> Reply-To: "Struts Users Mailing List" <roger49@example.com> Delivered-To: mailing list roger49@example.com Received: (qmail 31955 invoked by uid 99); 1 Apr 2009 15:40:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 15:40:51 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of roger49@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-qy0-f104.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 15:40:44 +0000 Received: by qyk2 with SMTP id 2so194440qyk.23 for <roger49@example.com>; Wed, 01 Apr 2009 08:40:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=N2/Zk1itvTUwLhmL7JiHRHc2zqKWb/nNDsrzb7fe+LM=; b=wcx9OzMrVNCU3vUVl6vcZB0VyCHTGiUwEy/3Unz9JZtibV8PtkGnD9DGeiqIgx78Un pyS3+jxaGI6Tm8lCZjqUCJFbtADFzyhpA7UR9KW1BWsejrZvLDghJZ41nUB2yfQsWLsX 9eXVldewaTp0TMNhxD7JWCXbRa4lAAFAcRjUc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=QT74pMfjHNJ713KzowlLkbS4zvOQk5EKurHAO99qbwznoPopjMWh/pQrscFdhbQOXH pNqtrulAt9MDKaqkfW7iKWQigiv4/oxPLpLK/keFXMBVMENohNhnhjzwdo1pn8bayZXS Lt0x0qMoPf2qCsPXb6PlQs1fbwLvWEbNtqND4= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id c12mr1711494ibb.39.1238600422063; Wed, 01 Apr 2009 08:40:22 -0700 (PDT) In-Reply-To: <roger49@example.com> References: <roger49@example.com> <roger49@example.com> <roger49@example.com> Date: Wed, 1 Apr 2009 11:40:22 -0400 Message-ID: <roger49@example.com> Subject: Re: Action an overused term? From: Musachy Barroso <roger49@example.com> To: Struts Users Mailing List <roger49@example.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org And that is why I love Groovy's "import something as somethingelse" :) musachy On Wed, Apr 1, 2009 at 11:35 AM, <roger49@example.com> wrote: > We are at the point where in many cases we will want an action to > 1. implement Action (for configuration by convention purposes) and also > 2. use the @Action annotation > So we are faced with either using fully qualified names for one of the 'Action's or taking the route of extending ActionSupport and losing the chance to extend anything else. Perhaps in later versions we could have fewer things called Action? > Chris M > > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: roger49@example.com For additional commands, e-mail: roger49@example.com From roger49@example.com Wed Apr 01 16:05:15 2009 Return-Path: <roger49@example.com> Delivered-To: roger49@example.com Received: (qmail 23933 invoked from network); 1 Apr 2009 16:05:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2009 16:05:15 -0000 Received: (qmail 77240 invoked by uid 500); 1 Apr 2009 16:05:11 -0000 Delivered-To: roger49@example.com Received: (qmail 77210 invoked by uid 500); 1 Apr 2009 16:05:11 -0000 Mailing-List: contact roger49@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:roger49@example.com> List-Help: <mailto:roger49@example.com> List-Post: <mailto:roger49@example.com> List-Id: "Struts Users Mailing List" <user.struts.apache.org> Reply-To: "Struts Users Mailing List" <roger49@example.com> Delivered-To: mailing list roger49@example.com Received: (qmail 77200 invoked by uid 99); 1 Apr 2009 16:05:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 16:05:11 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO mail-fx0-f163.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 16:05:02 +0000 Received: by fxm7 with SMTP id 7so130972fxm.11 for <roger49@example.com>; Wed, 01 Apr 2009 09:04:41 -0700 (PDT) MIME-Version: 1.0 Sender: roger49@example.com Received: by 83.161.120.155 with SMTP id p1mr6360350far.0.1238601880798; Wed, 01 Apr 2009 09:04:40 -0700 (PDT) Date: Wed, 1 Apr 2009 12:04:39 -0400 X-Google-Sender-Auth: 62fd45b851978007 Message-ID: <roger49@example.com> Subject: OT - No Joke - Ted's Going Emeritus From: Ted Husted <roger49@example.com> To: roger49@example.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Those of you long-in-the-tooth will have noticed that I've been inactive in the Apache Struts project for some time now, and I've requested a change of my Struts PMC status to emeritus. Although others have now taken my place, I'd like to mention that serving on the PMC has been both a pleasure and an honor for me. If the winds of change bring my career back to Struts Island, I would not hesitate to become involved in the project once again. As it stands, I've been working with a local (to me) firm that specializes in providing system integration services to non-profits. The work here is mainly .NET, and, even then, as a business analyst, except for test cases, I'm not doing very much hands-on coding these days. It's a great firm, and a great job. Compared to more hectic times, I now feel like I'm semi-retired. :) I am staying involved in the foundation by handling the "roger49@example.com" mail box, and one of these years, I'd like to drop by ApacheCon again. I am hoping to present again at Ajax Experience this fall, and also at STPCon in November. If there is every any questions about any of my past contributions, please don't hesitate to ask. And ... thanks for all the fish :) -Ted. http://twitter.com/tedhusted --------------------------------------------------------------------- To unsubscribe, e-mail: roger49@example.com For additional commands, e-mail: roger49@example.com From roger49@example.com Wed Apr 01 17:25:53 2009 Return-Path: <roger49@example.com> Delivered-To: roger49@example.com Received: (qmail 61105 invoked from network); 1 Apr 2009 17:25:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2009 17:25:53 -0000 Received: (qmail 6587 invoked by uid 500); 1 Apr 2009 17:25:50 -0000 Delivered-To: roger49@example.com Received: (qmail 6544 invoked by uid 500); 1 Apr 2009 17:25:50 -0000 Mailing-List: contact roger49@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:roger49@example.com> List-Help: <mailto:roger49@example.com> List-Post: <mailto:roger49@example.com> List-Id: "Struts Users Mailing List" <user.struts.apache.org> Reply-To: "Struts Users Mailing List" <roger49@example.com> Delivered-To: mailing list roger49@example.com Received: (qmail 6425 invoked by uid 99); 1 Apr 2009 17:25:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 17:25:50 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of roger49@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO yx-out-2324.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 17:25:42 +0000 Received: by yx-out-2324.google.com with SMTP id 3so93976yxj.17 for <roger49@example.com>; Wed, 01 Apr 2009 10:25:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=LZuWpxaAVccykSBjaF6jf3QjKJr7LawP8MoF2j5YbZY=; b=UdFS1M30sPWPccXfPtLnaSslQhgWLdJKMnIUzkiJgFZfhLBkFh0gcnXgXgdlUH1av/ UAcHVUPbaagaI8tCbicg+xtMpoi5B4Pn/DMDd0tJH1BqFBbJMbPwDiVHgQLfW00lXNte 6/y/Wsd0XEyQfgfWwxCfq+9FlVO7nznN8LahA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ffRqPDfY3OWofbL/xNHXUtSkYCWEEoFZpavz784QHWMRnY9Sx/djUQEZF9VylLX9hD Yz/ps18XDXb7TLmX4NEcPco+rJXmCZN8SI1i1r9brsnY/9NokxbO9K9c4tzEFh2cRL2t /O7mXM+rihZHZXrj3kg0jGsL7tIc5CaF+YtYc= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id d3mr1749432ibb.18.1238606721183; Wed, 01 Apr 2009 10:25:21 -0700 (PDT) In-Reply-To: <roger49@example.com> References: <roger49@example.com> <1237990740.7016.5.camel@localhost> <roger49@example.com> <roger49@example.com> <roger49@example.com> <roger49@example.com> <roger49@example.com> <roger49@example.com> <roger49@example.com> <roger49@example.com> Date: Wed, 1 Apr 2009 13:25:21 -0400 Message-ID: <roger49@example.com> Subject: Re: ExecuteAndWaitInterceptor not working (2.1.6) From: Musachy Barroso <roger49@example.com> To: Struts Users Mailing List <roger49@example.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Sorry I hadn't looked at this in detail. As Dale said, you need to define a "wait" result. Struts should not be trying to create it if it isn't there, it should throw an exception instead. musachy On Wed, Apr 1, 2009 at 11:30 AM, <roger49@example.com> wrote: > > =A0Will do. > Chris > > > > > > > > -----Original Message----- > From: Musachy Barroso <roger49@example.com> > To: Struts Users Mailing List <roger49@example.com> > Sent: Tue, 31 Mar 2009 11:09 am > Subject: Re: ExecuteAndWaitInterceptor not working (2.1.6) > > > > > > > > > > > Add the full stack trace and as much information as possible. > > thanks > musachy > > On Tue, Mar 31, 2009 at 10:58 AM, Dale Newfield <roger49@example.com> wrote= : >> roger49@example.com wrote: >>> >>> Exactly -- used to work in 2.0.x but must have broken in the transition= . >> >> Please create a JIRA issue for this. >> >> -Dale >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: roger49@example.com >> For additional commands, e-mail: roger49@example.com >> >> > > > > -- > "Hey you! Would you help me to carry the stone?" Pink Floyd > > --------------------------------------------------------------------- > To unsubscribe, e-mail: roger49@example.com > For additional commands, e-mail: roger49@example.com > > > > > > > --=20 "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: roger49@example.com For additional commands, e-mail: roger49@example.com From roger49@example.com Wed Apr 01 17:28:14 2009 Return-Path: <roger49@example.com> Delivered-To: roger49@example.com Received: (qmail 65083 invoked from network); 1 Apr 2009 17:28:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2009 17:28:14 -0000 Received: (qmail 16182 invoked by uid 500); 1 Apr 2009 17:28:10 -0000 Delivered-To: roger49@example.com Received: (qmail 16131 invoked by uid 500); 1 Apr 2009 17:28:10 -0000 Mailing-List: contact roger49@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:roger49@example.com> List-Help: <mailto:roger49@example.com> List-Post: <mailto:roger49@example.com> List-Id: "Struts Users Mailing List" <user.struts.apache.org> Reply-To: "Struts Users Mailing List" <roger49@example.com> Delivered-To: mailing list roger49@example.com Received: (qmail 16121 invoked by uid 99); 1 Apr 2009 17:28:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 17:28:10 +0000 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of roger49@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 17:28:02 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <roger49@example.com>) id 1Lp4E1-0001pc-H8 for roger49@example.com; Wed, 01 Apr 2009 10:27:41 -0700 Message-ID: <roger49@example.com> Date: Wed, 1 Apr 2009 10:27:41 -0700 (PDT) From: dusty <roger49@example.com> To: roger49@example.com Subject: Re: using inject with Convention Plugin In-Reply-To: <roger49@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: roger49@example.com References: <roger49@example.com> <roger49@example.com> <roger49@example.com> X-Virus-Checked: Checked by ClamAV on apache.org GUICE usage is strictly forbidden. =20 Adam Ruggles wrote: >=20 > If you're using spring, why don't you use spring to inject your property? >=20 >=20 >=20 > Kumar Mettu wrote: >>=20 >> Musachy, >>=20 >> =C2=A0 This works great as long as default Struts Object Factory is used= but >> get the exception the following exception If I try to use >> StrutsSpringObjectFactory >> com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: >> No mapping found for dependency >> =20 >> Any thoughts? >>=20 >> Thanks, >> Kumar. >>=20 >>=20 >>=20 >>=20 >> --- On Fri, 3/27/09, Musachy Barroso <roger49@example.com> wrote: >>=20 >> From: Musachy Barroso <roger49@example.com> >> Subject: Re: using inject with Convention Plugin >> To: "Struts Users Mailing List" <roger49@example.com> >> Date: Friday, March 27, 2009, 12:55 PM >>=20 >> There is no documentation about it. Don't tell anyone I told you, but >> you just need to do something like: >>=20 >> @Inject("the.constant") >> public void setSomeConstant(String constant) { >> } >>=20 >> and the value of the constant with key "the.constant" will be >> injected. You can also inject by type, like the "Container" instance >> and so on. >>=20 >> musachy >>=20 >> On Fri, Mar 27, 2009 at 3:48 PM, Kumar Mettu <roger49@example.com> wrote: >>> Hi, >>> >>> =C2=A0 I am looking for a way to inject resources while using Conventio= n >>> Plugin. I can't find any relevant docs. Can someone point me in right >>> direction? >>> >>> Thanks, >>> Kumar. >>> >>> >>> >>> >>=20 >>=20 >>=20 >> --=20 >> "Hey you! Would you help me to carry the stone?" Pink Floyd >>=20 >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: roger49@example.com >> For additional commands, e-mail: roger49@example.com >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >=20 >=20 --=20 View this message in context: http://www.nabble.com/using-inject-with-Conve= ntion-Plugin-tp22748747p22831616.html Sent from the Struts - User mailing list roger49@example.com. --------------------------------------------------------------------- To unsubscribe, e-mail: roger49@example.com For additional commands, e-mail: roger49@example.com From roger49@example.com Wed Apr 01 18:01:29 2009 Return-Path: <roger49@example.com> Delivered-To: roger49@example.com Received: (qmail 89669 invoked from network); 1 Apr 2009 18:01:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2009 18:01:27 -0000 Received: (qmail 85980 invoked by uid 500); 1 Apr 2009 18:01:24 -0000 Delivered-To: roger49@example.com Received: (qmail 85940 invoked by uid 500); 1 Apr 2009 18:01:24 -0000 Mailing-List: contact roger49@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:roger49@example.com> List-Help: <mailto:roger49@example.com> List-Post: <mailto:roger49@example.com> List-Id: "Struts Users Mailing List" <user.struts.apache.org> Reply-To: "Struts Users Mailing List" <roger49@example.com> Delivered-To: mailing list roger49@example.com Received: (qmail 85930 invoked by uid 99); 1 Apr 2009 18:01:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 18:01:24 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO nashua.skillsoft.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 18:01:16 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C9B2F3.CD4F42FD" Subject: NPE in Visitor Validation migrating from 2.0.14 to 2.1.6 Date: Wed, 1 Apr 2009 14:00:54 -0400 Message-ID: <roger49@example.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: NPE in Visitor Validation migrating from 2.0.14 to 2.1.6 Thread-Index: Acmy881KipAdYKUGQBeUCv8tV+0nCA== From: "Derrick Koes" <roger49@example.com> To: <roger49@example.com> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C9B2F3.CD4F42FD Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable If I attempt to use an empty message node in my visitor validator configuration, I get a NullPointerException from TextParseUtil.translateVariables (line 155) because "expression" (the default message if message key is null) is null. =20 I can sort of work around the issue by adding a default message, but then that string is prepending (according to guide and as witnessed) to the validation error string. I do not want this string appended. =20 Does anyone have any suggestions? =20 <field name=3D"userBean"> <field-validator type=3D"visitor"> <message key=3D" "></message> </field-validator> </field> =20 BTW, other forms such as "<message key=3D""></message>", "<message/>", = and "<message></message>" all produce the same problem. =20 Thanks, Derrick ------_=_NextPart_001_01C9B2F3.CD4F42FD-- From roger49@example.com Wed Apr 01 18:04:42 2009 Return-Path: <roger49@example.com> Delivered-To: roger49@example.com Received: (qmail 91307 invoked from network); 1 Apr 2009 18:04:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2009 18:04:42 -0000 Received: (qmail 89040 invoked by uid 500); 1 Apr 2009 18:04:39 -0000 Delivered-To: roger49@example.com Received: (qmail 88959 invoked by uid 500); 1 Apr 2009 18:04:39 -0000 Mailing-List: contact roger49@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:roger49@example.com> List-Help: <mailto:roger49@example.com> List-Post: <mailto:roger49@example.com> List-Id: "Struts Users Mailing List" <user.struts.apache.org> Reply-To: "Struts Users Mailing List" <roger49@example.com> Delivered-To: mailing list roger49@example.com Received: (qmail 88949 invoked by uid 99); 1 Apr 2009 18:04:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 18:04:39 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of roger49@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO qw-out-2122.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 18:04:33 +0000 Received: by qw-out-2122.google.com with SMTP id 5so132647qwi.59 for <roger49@example.com>; Wed, 01 Apr 2009 11:04:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com;
{'source': 'Apache Software Foundation Public Mail Archives'}