li xin.

In my opinion it is no problem to add a jsp-file to a struts application at runtime. For this you don't need to restart the server. Changing the configuration at run time is not possible with the current implementation of struts. After a module is initialized the ActionServlet-class freezes the configuration. Before that you can add configurations such as actions, forwards etc. with the plug-in mechanism, because the init() method of the plugin has full access to the ModuleConfig.

You can override the ActionServlet Methode init() and don't freeze the moduleConfig. In this case you have the possibility to add actions and forwards to the configuration at run time.

Manfred

lixin chu wrote:

hi,
i would like to know if it is possible to dynamically
(without restart servlet engine) add Actions.

say for example, i have one struts based application
running. now i want to add one hyperlink in a JSPfile
which points to another struts based application
module. how do i do it ?

is there any existing soultion ?
thanks
li xin

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

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




-- =========================================== Dipl.-Inf. Manfred Wolff ------------------------------------------- phone neusta : +49 421 20696-27 phone : +49 421 534522 mobil : +49 178 49 18 434 eFax : +49 1212 6 626 63 965 33 ------------------------------------------- ____________________________________________________ Diese E-Mail enthält möglicherweise vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.



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



Reply via email to