You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Musachy Barroso (JIRA)" <ji...@apache.org> on 2009/07/12 20:18:58 UTC

[jira] Resolved: (WW-3183) Add class reloading to the Spring plugin

     [ https://issues.apache.org/struts/browse/WW-3183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Musachy Barroso resolved WW-3183.
---------------------------------

    Resolution: Fixed

> Add class reloading to the Spring plugin
> ----------------------------------------
>
>                 Key: WW-3183
>                 URL: https://issues.apache.org/struts/browse/WW-3183
>             Project: Struts 2
>          Issue Type: New Feature
>          Components: Other
>    Affects Versions: 2.1.7
>            Reporter: Musachy Barroso
>            Assignee: Musachy Barroso
>            Priority: Minor
>             Fix For: 2.1.8
>
>
> To use this feature, follow these steps:
>     * Set "struts.devMode" to "true"
>     * Set "struts.class.reloading.watchList" to a comma separated list of directories, or jar files (absolute paths)
>     * Add this to web.xml:
>         <context-param>
>              <param-name>contextClass</param-name>
>              <param-value>org.apache.struts2.spring.ClassReloadingXMLWebApplicationContext</param-value>
>          </context-param>
> Notes: 
> * Some spring classes were overwritten to avoid java class/constructor cache.
> * This will only work when "devMode" is set to true, and *should not* be used in production environments as it will slow down the application.
> * This feature is experimental
> * When a directory is specified in "struts.class.reloading.watchList", its sub directories will also be watched
>         

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.