RE: erros not displaying
Hi Rajasekhar, What "key" are you storing the errors under? --Abraham > -Original Message- > From: Rajasekhar Bodduluri [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 11, 2001 11:32 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: erros not displaying > > > > Hi all, > > I am not getting erros when i am usingtag, is > any body knows > what would be the reason? > > thanks & regards > raj > >
Re: erros not displaying
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> Make sure to include this in your JSP - Original Message - From: "Ravindran Ramaiah" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, June 11, 2001 11:38 AM Subject: RE: erros not displaying > > Please make sure that you have initialized ActionErrors with approtiate > error key defined in Application Properties file. Only error messages from > properties file will be displayed throught this tag. > > > Following is the code snippet > --- > ActionErrors act = new ActionErrors(); > ActionError err = new ActionError("partyinfoForm.payment"); > // partyinfoForm.payment is the key in application.properties > > act.add("numberpayments", err); > saveErrors(request, act); > return mapping.findForward("failure"); > > > Thanks, > Ravi > > > -Original Message- > From: Rajasekhar Bodduluri [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 11, 2001 2:32 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: erros not displaying > > > > Hi all, > > I am not getting erros when i am usingtag, is any body > knows > what would be the reason? > > thanks & regards > raj >
RE: erros not displaying
Please make sure that you have initialized ActionErrors with approtiate error key defined in Application Properties file. Only error messages from properties file will be displayed throught this tag. Following is the code snippet --- ActionErrors act = new ActionErrors(); ActionError err = new ActionError("partyinfoForm.payment"); // partyinfoForm.payment is the key in application.properties act.add("numberpayments", err); saveErrors(request, act); return mapping.findForward("failure"); Thanks, Ravi -Original Message- From: Rajasekhar Bodduluri [mailto:[EMAIL PROTECTED]] Sent: Monday, June 11, 2001 2:32 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: erros not displaying Hi all, I am not getting erros when i am usingtag, is any body knows what would be the reason? thanks & regards raj
Re: erros not displaying
Hi all, I am not getting erros when i am usingtag, is any body knows what would be the reason? thanks & regards raj