struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastien Leboucher (JIRA)" <>
Subject [jira] [Created] (WW-4622) [struts2-tiles-plugin] [2.3.28] [StrutsWildcardServletTilesApplicationContext] getRealPath
Date Thu, 31 Mar 2016 08:32:25 GMT
Sebastien Leboucher created WW-4622:

             Summary: [struts2-tiles-plugin] [2.3.28] [StrutsWildcardServletTilesApplicationContext]
                 Key: WW-4622
             Project: Struts 2
          Issue Type: Bug
          Components: Plugin - Tiles
    Affects Versions: 2.3.28
            Reporter: Sebastien Leboucher
            Priority: Blocker

Since version 2.3.28, the "struts2-tiles-plugin" API introduce a new listener (StrutsWildcardServletTilesApplicationContext).

This listener make a call to ServletContext.getRealPath method. 
However this method can't be used with a tomcat "unpackWARs=false" deployment scheme (

Cause when war file is not exploded, this method return always "null".
So i get a NullPointerException during context loading !

Could you restore a classpath context loading ? As in the previous version ?


This message was sent by Atlassian JIRA

View raw message