This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am having problem in creating a global forward in struts in 1.3.8. When I add the global forward tag I get an error in Tomcat during startup. I checked the spelling and it perfectly matches. When I remove the global forward tag, I do NOT get this error. I have not had a chance to work in struts in last 2 years, so can someone please let me know what is the mistake in this? Thanks in advance for your response.
Nov 12, 2009 7:41:37 PM org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 35 column 17: The content of element type "struts-config" must match "(display-name?,description?,form-beans?,global-exceptions?,global-forwards?,action-mappings?,controller?,message-resources*,plug-in*)".
My struts-config.xml **********************
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"
Bear - I am new to the forum and this was my first post. I will make sure I post it in the right section of the forum. Also I have found the problem. The order in the struts config is what caused the problem. I have placed the global forwards at the bottom of my config file and it resolved the issue.