On Wed, 2 Oct 2002, Steinar Bang wrote:

> Date: Wed, 02 Oct 2002 15:15:19 +0200
> From: Steinar Bang <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: Where are ActionForward objects stored in Struts 1.1?
>
> >>>>> Steinar Bang <[EMAIL PROTECTED]>:
>
> > I would like to get hold of the ActionMappings object holding for a
> > Struts webapp, from an ActionServlet subclass.
> [snip!]
> > In Struts 1.0* I used the ActionServlet.mappings field, but in
> > Struts 1.1 I couldn't find an ActionMappings object anywhere.
>
> > Does anyone know if where I can find this object, or what I should
> > use instead?  Ie. where are the ActionForward objects stored in
> > Struts 1.1?
>
> I think what I need to do, is to replace the
> ActionServlet.initApplicationConfig() method, call
> super.initApplicationConfig(), and then call
> config.findActionConfigs() to get the array of ActionConfig and
> iterate over these instead.

That's exactly the right answer.

Craig


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

Reply via email to