This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

After upgrading from 2.0.x to 2.2.x, static content no longer loads

 
Eric Nielsen
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I recently upgraded from Struts 2.0.x + SmartURLs to Struts 2.2.1 + Convention plugin. However after upgrading all my static content is no longer being served. I read all the release notes along the way that I could find and nothing suggests that my old approach should have stopped working. I'm assuming my old system worked because of some (probably wrong) usage I was making with SmartURLs since that's the only change that touched the filters. Can anyone point out what else I need to change/tweak to get static content behaving again?

I'm using Maven as the build system.
static content is at


Here are my filters from web.xml


Here's the root node and contents of the struts.xml:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic