It still does not work. It is still looking for that actionPackages parameter. 
And if i add it, I get an error related to the path.

----------- web.xml content :-----------

    <filter>  
    <filter-name>struts2</filter-name>  
           <filter-class>  
            
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
           </filter-class> 
<!--               <init-param>-->
<!--            <param-name>actionPackages</param-name>-->
<!--            
<param-value>com.eni.dvtejb.clientStruts2.action</param-value>-->
<!--       </init-param>  -->
  </filter> 



---------- struts.xml content :--------------

<constant name="struts.convention.action.packages" 
value="com.eni.dvtejb.clientStruts2.action" />  


----------- error :----------

Caused by: 
com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No 
mapping found for dependency [type=java.lang.String, name='actionPackages'] in 
public void 
org.apache.struts2.config.ClasspathPackageProvider.setActionPackages(java.lang.String).

I have the struts2-convention-plugin-2.1.8.jar library in JBoss classpath of 
course.


-----Message d'origine-----
De : Lukasz Lenart [mailto:lukasz.len...@googlemail.com] 
Envoyé : lundi 9 novembre 2009 13:15
À : Struts Users Mailing List
Objet : Re: [Struts 2.1.8] Filter init parameter "actionPackages" fails on 
JBoss5.1.0: workaround ?

2009/11/9 Fernandes Celinio <cfernan...@sopragroup.com>:
> Is that latest filter implementation part of the Struts 2.1.8 distribution ?

Sorry, tiny mistake, should be
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter


Regards
--
Lukasz
http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to