Templates are used for the main frameset, yes.

Steve


>From: "John Kroubalkian" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Subject: Re: actionerrors not showing up
>Date: Tue, 19 Mar 2002 09:26:56 -0700
>
>Just out of curiosity, are you using Templates?  [struts-template.tld]
>----- Original Message -----
>From: "liudsm" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Sent: Monday, March 18, 2002 6:27 PM
>Subject: Re: actionerrors not showing up
>
>
> > yes,you are right ! i cann't  find this fact .thank you !
> > ----- Original Message -----
> > From: "Yu, Yanhui" <[EMAIL PROTECTED]>
> > Newsgroups: Struts
> > Sent: Tuesday, March 19, 2002 1:46 AM
> > Subject: RE: actionerrors not showing up
> >
> >
> > > two cents:
> > > 1. change "an error message" to "an.error.message" in your code.
> > > 2. make sure you have an.error.message="some error message that you 
>want
>to
> > > show on jsp" in the application.properties file.
> > >
> > > If you have these two things done and restart your server, it seems to
>me
> > > you would see the "some error message that you want to show on jsp" on
>the
> > > jsp page.
> > >
> > > Thanks,
> > > Yanhui
> > >
> > > -----Original Message-----
> > > From: liudsm [mailto:[EMAIL PROTECTED]]
> > > Sent: Sunday, March 17, 2002 10:02 PM
> > > To: Struts Users Mailing List
> > > Subject: Re: actionerrors not showing up
> > >
> > >
> > > Hi, good afternoon,i had saw your code,but i can not find any error.so
>your
> > > question may focus on other program .
> > >
> > > ----- Original Message -----
> > >
> > > From: "Steven Dahlin" <[EMAIL PROTECTED]>
> > >
> > > Newsgroups: Struts
> > >
> > > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> > >
> > > Sent: Monday, March 18, 2002 10:23 AM
> > >
> > > Subject: actionerrors not showing up
> > >
> > >
> > >
> > >
> > >
> > > > I am not getting any errors showing up with the jsp page.  I have 
>the
> > >
> > > > following action code:
> > >
> > > >
> > >
> > > > public class UserAction extends Action
> > >
> > > > {
> > >
> > > >   public ActionForward perform( ActionMapping   actMap,
> > >
> > > >            ActionForm    actFrm,
> > >
> > > >            HttpServletRequest  hsReq,
> > >
> > > >            HttpServletResponse hsRsp )
> > >
> > > >     throws  IOException,
> > >
> > > >             ServletException
> > >
> > > >    {
> > >
> > > >
> > >
> > > >       ActionErrors errors      = new ActionErrors();
> > >
> > > >
> > >
> > > >        /* code of no consequence */
> > >
> > > >
> > >
> > > >       ActionError actErr = new ActionError( "an error message" );
> > >
> > > >
> > >
> > > >       errors.add( ActionErrors.GLOBAL_ERROR, actErr );
> > >
> > > >
> > >
> > > >       saveErrors( hsReq, errors );
> > >
> > > >
> > >
> > > >       return ( new ActionForward( actMap.getInput() ) );
> > >
> > > >
> > >
> > > >    }
> > >
> > > > }
> > >
> > > >
> > >
> > > >
> > >
> > > > Then the jsp that is called looks for the errors with the tag:
> > >
> > > >
> > >
> > > >    <html:errors/>
> > >
> > > >
> > >
> > > > but no errors appear.  Can anyone tell me what I am doing wrong?
> > >
> > > >
> > >
> > > > Thanks,
> > >
> > > > Steve
> > >
> > > >
> > >
> > > > --
> > >
> > > > To unsubscribe, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > >
> > > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > >
> > > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
> > >
>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
>




_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to