struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: DMI issue with struts 2.3.29 in tomcat
Date Thu, 07 Jul 2016 05:17:41 GMT
2016-07-06 9:19 GMT+02:00 Vidula Hasaranga <vhasaranga@isa.ae>:
> web.xml
>
>         <filter>
>                 <filter-name>struts2</filter-name>
>                 <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
>                 <init-param>
>                         <param-name>config</param-name>
>                         <param-value>struts-default.xml,
>                                 struts-plugin.xml,
>                                 /WEB-INF/struts-config.xml</param-value>

This is the issue and it never worked - Struts doesn't lookup for
resources in /WEB-INF folder. The best option is to drop this
configuration and rename "struts-config.xml" into "struts.xml" and put
it under "classes" folder (or if you are using Maven put it under
"resources")


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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


Mime
View raw message