This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Upgrading Struts 1.2 to 1.3 and Global Forward

 
Jennifer Moran
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have two applications, one in Struts 1.2.9 and one in Struts 1.3.10. I have a global forward defined for errors and my BaseDispatchAction which extends Struts DispatchAction catches the exceptions and forwards to the global error. This all works fine in Struts 1.2.9, I get forwarded to the error page, Actionmessages are being displayed, etc. The EXACT same code does NOT work in Struts 1.3.10. I think it has something to do with the new RequestProcessor introduced in 1.3.10 but I don't know how to fix this.

Code is

struts-config.xml


tiles.xml


BaseDispatchAction.java



Any help would be greatly appreciated.

Thanks!!

Jennifer
 
Jennifer Moran
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
NEVERMIND - silly error, file was in wrong directory folder and it couldn't find it...

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic