Hi,
I have included the errors.header and errors.footer
in my properties file, but do i have to add these
errors in my Actionform validate method manually as i
add it for username and password. or would it be
displayed automatically for all errors.
And i am not useing {0} for error message for password
in properties file.
in my properties file i have
error.username.required=<li> Username required</li>
error.password.required=<li> Password required</li>
Regards
manoj
--- struts lover <[EMAIL PROTECTED]> wrote:
> Check for the errors.header and errors.footer. Also
> you can check if you using {0} in your properties
> file
> error message for password. And if yes, are you
> passing the parameter from your validation.xml
>
>
> --- jacob skariah <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> >
> > I have given the error messages in my
> properties
> > file. and the messages also are displayed
> correctly
> > on
> > the jsps, but the problem is i get two additional
> > "null" string in the front and end of the error
> > messages.
> >
> > I dont know why this happens. Can any body have
> come
> > accross such a problem. Pls send me the solution
> > ASAP
> >
> > Thanx in Advance
> >
> > Regards
> >
> > manoj
> > --- struts lover <[EMAIL PROTECTED]> wrote:
> >
> > > Check your properties file.
> > >
> > >
> > >
> > > --- jacob skariah <[EMAIL PROTECTED]> wrote:
> > >
> > > > Hi,
> > > >
> > > > I am having problem while displaying my
> > Action
> > > > Errors on the jsp pages. The problem is two
> > "null"
> > > > messages are displayed in the begining and end
> > of
> > > > the
> > > > action error messages displayed on the jsps.
> > > >
> > > > example : In login page if we submit without
> > > > entering
> > > > user name and password the error message is
> > > > displayed
> > > > as----
> > > >
> > > > "null UserName Required ! Password Required !
> > > null"
> > > >
> > > > where ar i need to display only the message
> > > avoiding
> > > > the "null" in the begning and end. such as---
> > > >
> > > > "UserName Required ! Password Required ! "
> > > >
> > > > Can any one tell me how to do this.
> > > >
> > > > Thanx in Advance
> > > >
> > > > Regards
> > > >
> > > > manoj
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > __________________________________
> > > > Do you Yahoo!?
> > > > Yahoo! Mail - 50x more storage than other
> > > providers!
> > > > http://promotions.yahoo.com/new_mail
> > > >
> > > >
> > >
> >
>
---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > > > [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > > > [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > >
> > >
> > > _______________________________
> > > Do you Yahoo!?
> > > Win 1 of 4,000 free domain names from Yahoo!
> Enter
> > > now.
> > > http://promotions.yahoo.com/goldrush
> > >
> > >
> >
>
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> > protection around
> > http://mail.yahoo.com
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
> >
>
>
>
>
> _______________________________
> Do you Yahoo!?
> Win 1 of 4,000 free domain names from Yahoo! Enter
> now.
> http://promotions.yahoo.com/goldrush
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]