Re: ActionErrors not being displayed in jsp

2006-06-21 Thread Madhav Bhargava
quot; validate="true"> > > > > > > > > > > In the jsp i specified as before . > > Please tel me if there is any error in my code. > > > > David Friedman wrote: > > Can you post a code snipper for your ActionForm? Do you invoked the > > f

Re: ActionErrors not being displayed in jsp

2006-06-21 Thread Medicherla Lakshmi
ookupForm" validate="true"> > > > > > > > > > > In the jsp i specified as before . > > Please tel me if there is any error in my code. > > > > David Friedman wrote: > > Can you post a code snipper for your ActionForm? Do you invoked t

Re: ActionErrors not being displayed in jsp

2006-06-21 Thread Madhav Bhargava
y in your Action or do you have the mapping set > with validate="true" ? > > Regards, > David > > -Original Message- > From: Medicherla Lakshmi [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 21, 2006 12:19 AM > To: Struts Users Mailing List >

Re: ActionErrors not being displayed in jsp

2006-06-21 Thread Medicherla Lakshmi
; > David Friedman wrote: > Can you post a code snipper for your ActionForm? Do you invoked the > form's > validate() method directly in your Action or do you have the mapping set > with validate="true" ? > > Regards, > David > > -Original Message- >

Re: ActionErrors not being displayed in jsp

2006-06-20 Thread Madhav Bhargava
the mapping set with validate="true" ? Regards, David -Original Message- From: Medicherla Lakshmi [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 21, 2006 12:19 AM To: Struts Users Mailing List Subject: Re: ActionErrors not being displayed in jsp Hi, Am not using validator.xml for v

RE: ActionErrors not being displayed in jsp

2006-06-20 Thread Medicherla Lakshmi
Can you post a code snipper for your ActionForm? Do you invoked the form's validate() method directly in your Action or do you have the mapping set with validate="true" ? Regards, David -Original Message- From: Medicherla Lakshmi [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 2

RE: ActionErrors not being displayed in jsp

2006-06-20 Thread David Friedman
, June 21, 2006 12:19 AM To: Struts Users Mailing List Subject: Re: ActionErrors not being displayed in jsp Hi, Am not using validator.xml for validation. But just the Actionform validate method to validate the username and password submitted without values. I tried to use even ActionMess

Re: ActionErrors not being displayed in jsp

2006-06-20 Thread Medicherla Lakshmi
Hi, Am not using validator.xml for validation. But just the Actionform validate method to validate the username and password submitted without values. I tried to use even ActionMessage in place of ActionError, but, my jsp is not showing the error message. Please Help. Thank an

Re: ActionErrors not being displayed in jsp

2006-06-20 Thread Pankaj Gupta
Use ActionMessages in place of ActionErrors. See: http://wiki.apache.org/struts/StrutsUpgradeNotes11to124 regards, Pankaj [EMAIL PROTECTED] wrote: Hi, public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest httpServletRequest) { Act

RE: ActionErrors not being displayed in jsp

2006-06-20 Thread mansooraks
Hi, public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest httpServletRequest) { ActionErrors errors = new ActionErrors(); if ((username == null) || (username.length() == 0)) { errors.add("username", ne