Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@www.apache.org Received: (qmail 77945 invoked from network); 2 Feb 2004 17:00:55 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Feb 2004 17:00:55 -0000 Received: (qmail 50815 invoked by uid 500); 2 Feb 2004 16:59:05 -0000 Delivered-To: apmail-jakarta-struts-user-archive@jakarta.apache.org Received: (qmail 50773 invoked by uid 500); 2 Feb 2004 16:59:05 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 50690 invoked from network); 2 Feb 2004 16:59:04 -0000 Received: from unknown (HELO web60201.mail.yahoo.com) (216.109.118.96) by daedalus.apache.org with SMTP; 2 Feb 2004 16:59:04 -0000 Message-ID: <20040202165904.30812.qmail@web60201.mail.yahoo.com> Received: from [139.72.1.30] by web60201.mail.yahoo.com via HTTP; Mon, 02 Feb 2004 08:59:03 PST Date: Mon, 2 Feb 2004 08:59:03 -0800 (PST) From: Hubert Rabago Subject: RE: redirect=true & ActionErrors To: Struts Users Mailing List In-Reply-To: <0A20043889A4214BAC30224682F674BB4BFEA5@zapblrmail.zapappindia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Manjunath, The patch was just submitted and Ted Husted indicated he will look at it, but just because someone submits a patch doesn't mean it gets committed (I would hope not!). If it doesn't and you still need it, I can help you add some subclasses to your project to make it work for you. - Hubert --- Manjunath Bhat wrote: > Hi > Thanks for the reply. My first concerns is with the action errors > display on the web page, which is lost due to redirect=true, since it is > bound to the request. > > I looked into transaction token, but its does not solve error display. I > am thinking of using it somewhere else in my app. Thanks for the info > > I was going through the link provided by you, where the patch for > ActionForward is being addressed. Please let me know which build of > struts should I use to check the new implementation. > > > > > -----Original Message----- > From: Hubert Rabago [mailto:jakartauser@yahoo.com] > Sent: Thursday, January 29, 2004 1:33 PM > To: Struts Users Mailing List > Subject: Re: redirect=true & ActionErrors > > There's no built-in support for this in the current version of Struts. > I'm currently working on a patch which would support this > (http://issues.apache.org/bugzilla/show_bug.cgi?id=866), but of course > there's no > guarantee that the patch (or something like it) will make it to a struts > release. > > In the meantime, you may want to look into using struts' transaction > tokens to > allow you to detect double submissions when the user clicks refresh. > > If you're aching for this enhancement for your app, let me know and I'll > send you > some Struts subclasses that you can incorporate in your current project. > > (It's 2 AM my time, though, so I may not get back to you right away.) > > - Hubert > > --- Manjunath Bhat wrote: > > The errors that I populated in ActionErrors in my action classes are > not > > displayed in page if I use redirect="true". I am using redirect="true" > > to handle user clicking refresh button. > > > > If I use redirect="false" the ActionErrors are displayed. But I don't > > want to use redirect="false". Is there any work around for this > problem? > > > > TIA > > > > Majnunath > > > > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org