Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

struts1 & struts2 coexisting  RSS feed

gianfredo ligonzi
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys
i have to introduce struts2 in a project that already use struts1
Reading the manual "Struts2 in action" i have done some steps to do it

- struts2 jar inclusion in the folder WEB-INF/lib
- struts2 filter tag added in the web.xml with *.action url-pattern
- struts.xml file added in /src folder
- empty applicationContext.xml file added in WEB-INF folder

but when i run the application and digit url to call my old struts1 action .do, i have a HTTP Status 404 error as response.
if i delete the filter tag block from web.xml it's all ok

any suggestion?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!