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
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
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
>
;
> 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-
>
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
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
, 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
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
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
Hi,
public ActionErrors validate(ActionMapping actionMapping,
HttpServletRequest httpServletRequest) {
ActionErrors errors = new ActionErrors();
if ((username == null) || (username.length() == 0)) {
errors.add("username", ne
10 matches
Mail list logo