You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/03/30 17:45:32 UTC

DO NOT REPLY [Bug 28051] New: - [PATCH] Read "META-INF/struts-config.xml" resources in any JAR included in the application

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28051>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28051

[PATCH] Read "META-INF/struts-config.xml" resources in any JAR included in the application

           Summary: [PATCH] Read "META-INF/struts-config.xml" resources in
                    any JAR included in the application
           Product: Struts
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Controller
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: filippo.munafo@kion.it


I've extended the ActionServlet in order to parse "META-INF/struts-config.xml" 
files inside any JAR included in the webapp.

If no config file was found in servlet context (getServletContext().getResource
(path)), the controller searches inside jar files through class loader (getClass
().getClassLoader().getResources(path)), as Craig suggested in a post.

Filippo

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org