Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes Upgrading Struts 1.2 to 1.3 and Global Forward Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Upgrading Struts 1.2 to 1.3 and Global Forward" Watch "Upgrading Struts 1.2 to 1.3 and Global Forward" New topic
Author

Upgrading Struts 1.2 to 1.3 and Global Forward

Jennifer Moran
Ranch Hand

Joined: Oct 21, 2002
Posts: 60
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

Joined: Oct 21, 2002
Posts: 60
NEVERMIND - silly error, file was in wrong directory folder and it couldn't find it...

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Upgrading Struts 1.2 to 1.3 and Global Forward
 
Similar Threads
Problem with Tiles-Definition
problem:Invalid path was requested /RES_userhomepage
Tiles newbie, please help
adding action mapping to struts-config
problem with tiles in netbeans