On Fri, 3 May 2002, Klaasjan Brand wrote:

> Date: Fri, 03 May 2002 09:16:29 +0200
> From: Klaasjan Brand <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: Re: ConvertUtilts.register(): where to call?
>
> Remke Rutgers wrote:
> > Hi fellowstrutsers,
> >
> > What is the best (logical, efficient, safe...) place to call
> > ConvertUtils.register() in a Struts Webapp?
> >
> > Anyone?
> >
>
> I'm using a subclassed ActionServlet's init() method...
>

[Struts 1.1-specific, but so is ConvertUtils.register() ...]

Another mechanism that avoids the need to subclass ActionServlet is to
create a PlugIn and register it in struts-config.xml.  All plug-ins get
called by the ActionServlet init() and destroy() methods, so a plug-in's
init() method is a good place to do application-startup type things like
this.


> greets,
> Klaasjan
>

Craig


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

Reply via email to