A token would be any Java object which you create to contain error or 
status information and place in ServletContext.

robert



> -----Original Message-----
> From: Heligon Sandra [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 06, 2003 9:49 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Application Startup
> 
> 
> I don't know that we can use token to do this
> do you have an example, please ?
> 
> -----Original Message-----
> From: Robert Taylor [mailto:[EMAIL PROTECTED]]
> Sent: 06 February 2003 15:43
> To: Struts Users Mailing List
> Subject: RE: Application Startup
> 
> 
> If there is an error, place a token in the ServletContext and have your
> controller check for that token.
> The token can contain error or status information.
> 
> robert
> 
> > -----Original Message-----
> > From: Heligon Sandra [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, February 06, 2003 9:02 AM
> > To: 'Struts Users Mailing List'
> > Subject: RE: Application Startup
> >
> >
> > The problem with the ServletContextListener is that we can not
> > display error to the client if an error occur, isn'it ?
> >
> >
> > -----Original Message-----
> > From: Robert Taylor [mailto:[EMAIL PROTECTED]]
> > Sent: 06 February 2003 14:35
> > To: Struts Users Mailing List
> > Subject: RE: Application Startup
> >
> >
> > Use a Servlet and designate it to load on start up, or if 
> Servlet2.3 spec,
> > look a ServletContextListener.
> >
> > robert
> >
> > > -----Original Message-----
> > > From: Tarek M. Nabil [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, February 06, 2003 8:14 AM
> > > To: Struts (E-mail)
> > > Subject: Application Startup
> > >
> > >
> > > Hi everyone,
> > >
> > > I'm using Struts 1.0.2.
> > >
> > > I need to do some stuff on application startup. I consulted the
> > > documentation, and noticed that there's support for such a thing
> > > in Struts 1.1. No mention of it in 1.0.2, though.
> > >
> > > Is there a way I can do some action on application startup in
> > > Struts 1.0.2.
> > >
> > > Please advise,
> > >
> > > Thanks,
> > >
> > > Tarek M. Nabil
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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

Reply via email to