You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org> on 2007/07/28 08:59:52 UTC

[jira] Commented: (MYFACES-1689) Reload of web.xml file if changes are detected

    [ https://issues.apache.org/jira/browse/MYFACES-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516145 ] 

Martin Marinschek commented on MYFACES-1689:
--------------------------------------------

Hi Sorin,

very nice, but the faces-config.xml file reload is missing. Actually, the faces-config.xml file is the important one - cause the web.xml will mostly be read by the servlet-container, and we can't tell the servlet-container to reload its definitions. The only thing where a web.xml reload might help is for the context-parameters - but that would mean some additional handling inside MyFacesConfig, I guess, or the ServletExternalContextImpl.

regards,

Martin

> Reload of web.xml file if changes are detected
> ----------------------------------------------
>
>                 Key: MYFACES-1689
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1689
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: General
>    Affects Versions:  1.1.6-SNAPSHOT
>            Reporter: Sorin Silaghi
>            Priority: Minor
>         Attachments: web_xml_reload.patch
>
>
> This will check regularly for changes in the web.xml file, and reloads it if needed. The time interval can be set by means of a context parameter (default is 2 seconds right now).

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