On Thu, 27 Jun 2002, Dirk Storck wrote:
> Date: Thu, 27 Jun 2002 17:06:30 +0200
> From: Dirk Storck <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> Subject: AW: How can I access a global forward within a struts action?
>
> Thanks !
> and about that Controller?
>
Do you mean the configuration information? In 1.1 the ApplicationConfig
object for each sub-application is available as a servlet context
attribute (the default one being under Action.APPLICATION_KEY). In
addition, the ApplicationConfig for the current request is stored under
the same key as a request attribute.
This object, and the properties it contains, hold essentially all of the
information that was loaded from a struts-config.xml file.
I don't know quite what you mean by "defining a controller for an action".
Craig
> -----Ursprüngliche Nachricht-----
> Von: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 27. Juni 2002 16:44
> An: 'Struts Users Mailing List'
> Betreff: RE: How can I access a global forward within a struts action?
>
>
> Accessing a global forward is easy. Access it the same as you would a local
> forward.
> return mapping.findForward("globalForwardName");
> Hope that helps.
>
> ~ Keith
>
>
> -----Original Message-----
> From: Dirk Storck [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 27, 2002 9:58 AM
> To: 'Struts User (E-Mail)'
> Subject: How can I access a global forward within a struts action?
>
>
> How can I access a global forward within a struts action?
> How do I find more about defining an controller for an action like it seem
> to be possible in struts1.1?
>
>
> Many thanks!
>
>
> --
> 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]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>