struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carol Saah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4038) struts.convention.action.includeJars didn't work
Date Thu, 25 Apr 2013 07:46:16 GMT

    [ https://issues.apache.org/jira/browse/WW-4038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13641533#comment-13641533
] 

Carol Saah commented on WW-4038:
--------------------------------

A workaround to upgrade to 2.3.14 is to add the following lines to struts.xml using the 2.3.8
version of PackageBasedActionConfigBuilder. I put a copy of PackageBasedActionConfigBuilder
from 2.3.8 in a package in our project.  

<bean type="org.apache.struts2.convention.ActionConfigBuilder" name="ActionConfigBuilder_2_3_8"
class="...package_name...PackageBasedActionConfigBuilder"/>
<constant name="struts.convention.actionConfigBuilder" value="ActionConfigBuilder_2_3_8"/>
<constant name="struts.convention.exclude.parentClassLoader" value="false" />


                
> struts.convention.action.includeJars didn't work
> ------------------------------------------------
>
>                 Key: WW-4038
>                 URL: https://issues.apache.org/jira/browse/WW-4038
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Convention
>    Affects Versions: 2.3.12
>         Environment: struts-2.3.12
>            Reporter: Xu Hui Sheng
>            Assignee: Lukasz Lenart
>             Fix For: 2.3.15
>
>
> please change the 416 line of org.apache.struts2.convention.PackageBasedActionConfigBuilder
> urlSet.include(new UrlSet(classLoaderInterface, this.fileProtocols));
> to
> urlSet = urlSet.include(new UrlSet(classLoaderInterface, this.fileProtocols));

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message