This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes struts1 & struts2 coexisting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts1 & struts2 coexisting" Watch "struts1 & struts2 coexisting" New topic

struts1 & struts2 coexisting

gianfredo ligonzi

Joined: Jun 06, 2011
Posts: 1
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?
Consider Paul's rocket mass heater.
subject: struts1 & struts2 coexisting
Similar Threads
Struts2 with RAD7
Struts2 with Displaytag export option is not working
web.xml problem in struts2
Integrating Struts2 with BEA Weblogic10
Struts2 with RAD7