You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Eric Chow <ec...@macaucabletv.com> on 2003/04/25 06:48:56 UTC
Define Action or ActionForm in run-time.
Hello,
We always define all the Action and ActionForm in struts-config.xml.
And the ActionServlet will load them when startup.
How can I add an Action or ActionForm after the System Load(in Run-time) ?
Eric
==========================
If you know what you are doing,
it is not called RESEARCH!
==========================
Re: Define Action or ActionForm in run-time.
Posted by "Craig R. McClanahan" <cr...@apache.org>.
On Fri, 25 Apr 2003, Eric Chow wrote:
> Date: Fri, 25 Apr 2003 12:48:56 +0800
> From: Eric Chow <ec...@macaucabletv.com>
> Reply-To: Struts Users Mailing List <st...@jakarta.apache.org>,
> Eric Chow <ec...@macaucabletv.com>
> To: Struts Users Mailing List <st...@jakarta.apache.org>
> Subject: Define Action or ActionForm in run-time.
>
> Hello,
>
> We always define all the Action and ActionForm in struts-config.xml.
>
> And the ActionServlet will load them when startup.
>
> How can I add an Action or ActionForm after the System Load(in Run-time) ?
>
You will need to use the application restart capabilities of your servlet
container in order to do this -- it's not possible to dynamically add new
actions, forms, or other things that are configured with
struts-config.xml.
>
> Eric
Craig
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org