This way your code generator could act as a controller and fire up some ant tasks to compile and then redeploy the generated app.
Again not sure what you're attempting, but if it were the case that you didn't need to generate an action servlet but rather have an action where the beans are dynamic I'd be looking into dynabeans to achieve this.
I'd be interested in knowing what the actual problem is you're solving.
Cheers Mark
On 7 Jan 2004, at 11:14, lixin chu wrote:
hi, i just tried these sceniors, it seems that nothing happened. I checked Tomcat log file, could not find when it restarted.
do i need to check something special ? --- Carl <[EMAIL PROTECTED]> wrote:---------------------------------------------------------------------If you add new java code in a running Tomcat context, by default the context will restart itsel automaticly.
Carl
lixin chu wrote:Thanks !?
I am very new to this web application world, just wanted to clarify if I can do these in a running Struts application without restart Tomcat: 1. Can I modify existing JSP files ? Yes, I have tried 2. Can I add new JSP files into existing folder ? I think so. 3. Can I create new folders for some new JSP files4. Can I add new java class into an existingfolder ?5. Can I create a new folder for some new Javaclasses?to
thanks li xin
--- Manfred Wolff <[EMAIL PROTECTED]> wrote:
li xin.
In my opinion it is no problem to add a jsp-filepossibilitya 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 theto 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 -------------------------------------------
____________________________________________________informierenDiese E-Mail enth鋖t m鰃licherweise
vertrauliche
und/oder rechtlich gesch黷zte Informationen.
Wenn
Sie nicht der richtige Adressat sind oder diese E-Mail irrt黰lich erhalten haben,intended
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 theorrecipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosuredistribution of the material in this e-mail is strictly forbidden.
---------------------------------------------------------------------Sweepstakes
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
__________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus"http://hotjobs.sweepstakes.yahoo.com/signingbonus
---------------------------------------------------------------------To unsubscribe, e-mail:[EMAIL PROTECTED]For additional commands, e-mail:[EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ds
__________________________________ 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]