• Post Reply Bookmark Topic Watch Topic
  • New Topic

struts1 & struts2 coexisting

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?
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!