One of the stated benefits is that you don't have to reload your app to see changes in actions. I think the idea is neat but would never use it because Tomcat reloads my app in < 3 seconds.

David


Then you get back to a spageti application ... :)

Jos�.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 5:49 PM
To: Struts Users Mailing List
Subject: Struts Action Scripting


Just found this at http://www.alphaworks.ibm.com/tech/strutsscripting


From their Overview:


The ScriptedAction is a Struts Action class that uses BSF (Bean Scripting Framework) to enable Struts developers to create Struts Actions in the
language of their choice. Supported languages include: JavaScript, Jython, Jacl, ActiveScript, PerlScript and others.


When specifying the type of an action, the ScriptedAction is specified and the parameter attribute is used to tell the ScriptedAction which script to load and execute. The ScriptedAction uses BSF to setup the script runtime environment with declared variables for the arguments typically passed to the execute method of an action, as well as a context object that provides a way for the script to specify the forward for the action to return.

Currently, there is some function for customizing the execution
environment of scripts to make the scripting of Actions easier and
friendlier by allowing the definition of predefined variables and
functions available to all scripts. Future plans include an extension
mechanism to allow for the registration of new BSF engines and file
extensions for different languages.

Cheers,
Gustavo


**** DISCLAIMER ****


"This e-mail and any attachment thereto may contain information which is confidential and/or protected by intellectual property rights and are intended for the sole use of the recipient(s) named above.
Any use of the information contained herein (including, but not limited to, total or partial reproduction, communication or distribution in any form) by other persons than the designated recipient(s) is prohibited.
If you have received this e-mail in error, please notify the sender either by telephone or by e-mail and delete the material from any computer".


Thank you for your cooperation.

For further information about Proximus mobile phone services please see our website at http://www.proximus.be or refer to any Proximus agent.


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


_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail



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



Reply via email to