You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Alessandro Scaramuzza <Sc...@informsrl.it> on 2003/03/12 16:09:44 UTC

help on ActionErrors

Hi everyone,
I create a new struts application cutting&pasting the struts examples. The
application would be a variant of the logon form getting user data from  a
database. Everything works but.... the errors I generate are displayed as
"null" on my JSP page.
I log the message on the beans and they're ok, but on the page they display
as "null"
Can anyone help me?
thanx ( and excuse me for my english...)



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: help on ActionErrors

Posted by Alessandro Scaramuzza <Sc...@informsrl.it>.
this is my index.jsp
the only change I do is to rename logon.jsp to index jsp and change xml
files accordingly

----- Original Message -----
From: "James Mitchell" <jm...@apache.org>
To: "'Struts Users Mailing List'" <st...@jakarta.apache.org>
Sent: Wednesday, March 12, 2003 4:16 PM
Subject: RE: help on ActionErrors


> Can you send your code for using ActionErrors in your jsp?
>
> It would help to also post how you are creating the ActionErrors in your
> action.
>
> --
> James Mitchell
> Software Developer/Struts Evangelist
> http://struts.sourceforge.net/struts-atlanta/
>
>
>
> > -----Original Message-----
> > From: Alessandro Scaramuzza [mailto:ScaramuzzaA@informsrl.it]
> > Sent: Wednesday, March 12, 2003 10:10 AM
> > To: struts-user@jakarta.apache.org
> > Subject: help on ActionErrors
> >
> >
> > Hi everyone,
> > I create a new struts application cutting&pasting the struts
> > examples. The
> > application would be a variant of the logon form getting user
> > data from  a
> > database. Everything works but.... the errors I generate are
> > displayed as
> > "null" on my JSP page.
> > I log the message on the beans and they're ok, but on the
> > page they display
> > as "null"
> > Can anyone help me?
> > thanx ( and excuse me for my english...)
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


RE: help on ActionErrors

Posted by James Mitchell <jm...@apache.org>.
Can you send your code for using ActionErrors in your jsp?

It would help to also post how you are creating the ActionErrors in your
action.

--
James Mitchell
Software Developer/Struts Evangelist
http://struts.sourceforge.net/struts-atlanta/



> -----Original Message-----
> From: Alessandro Scaramuzza [mailto:ScaramuzzaA@informsrl.it] 
> Sent: Wednesday, March 12, 2003 10:10 AM
> To: struts-user@jakarta.apache.org
> Subject: help on ActionErrors
> 
> 
> Hi everyone,
> I create a new struts application cutting&pasting the struts 
> examples. The
> application would be a variant of the logon form getting user 
> data from  a
> database. Everything works but.... the errors I generate are 
> displayed as
> "null" on my JSP page.
> I log the message on the beans and they're ok, but on the 
> page they display
> as "null"
> Can anyone help me?
> thanx ( and excuse me for my english...)
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org