This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi: I'm using Tomcat5.0.3 & Struts1.1, and i use the example LOGON.WAR, shipping with <<struts in Action>> . My Struts-configure.xml is : ........... <global-forwards> <forward name="welcome" path="/Welcome.do"/> </global-forwards> <action-mappings> <action path="/Welcome.do" type="org.apache.struts.actions.ForwardAction" parameter="/pages/Welcome.jsp"/> ........... </action-mappings> </struts-config> When i execute my application as http://localhost:8080/logon and i got following error: javax.servlet.ServletException: Cannot find global ActionForward for name welcome at org.apache.jasper.runtime.PageContextImpl. handlePageException(PageContextImpl.java:685) at org.apache.jsp.index_jsp._jspService(index_jsp.java:65) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
Welcome to JavaRanch "linuxz". I hope someone can give you a solution to your problem. While you are waiting, please review the JavaRanch Naming Policy and change your displayed name. You can change it here. Thanks, -Barry [ December 02, 2003: Message edited by: Barry Gaunt ] [ December 02, 2003: Message edited by: Barry Gaunt ]
Hi scott: I met the same problem as you did. Please check your struts-config.xml VERY carefully. I had an extra character in the file which caused the problem. Hope it will help. Let me know if you are not clear about what I'm saying. God luck!