Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 9339 invoked from network); 29 Nov 2001 19:51:04 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 29 Nov 2001 19:51:04 -0000 Received: (qmail 19783 invoked by uid 97); 29 Nov 2001 19:36:05 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@jakarta.apache.org Received: (qmail 19765 invoked by uid 97); 29 Nov 2001 19:36:04 -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 19749 invoked from network); 29 Nov 2001 19:36:04 -0000 Errors-To: Reply-To: From: "Juan Alvarado \(Struts List\)" To: "Struts" Subject: Help with perform method Date: Thu, 29 Nov 2001 14:35:30 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi: I have a class called AddUserAction which of course extends Action. In the perform method what I will do is add a record to a table in a database. The values I will add I will of course get from the form object the method takes as one of its parameters. What I would like to do is that if there is some type of error in this method, I want to be able to do a mapping.findForward("failure") and at the same time be able to include some type of error message to the user in the failure page. My failure page is probably the same form the user filled out, but the second time around I would like to display the error message. Any help with this topic is greatly appreciated. Thanks ********************************************** Juan Alvarado Internet Developer -- Manduca Management (786)552-0504 jalvarado@manduca.com AOL Instant Messenger: juan2000@aol.com -- To unsubscribe, e-mail: For additional commands, e-mail: