File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • 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
  • 0
  • 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