A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
newbie problem: Cannot find global ActionForward for name entry
Joined: Jun 11, 2005
Jun 11, 2005 14:48:00
just started playing around with
but already faced a problem I can't quite figure out.
I tried to make simple forward (webroot/index.jsp -> webroot/jsp/index.jsp)
Cannot find global ActionForward for name entry
<%@ page language="java"%> <%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %> <logic:forward name="entry" />
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"> <struts-config> <data-sources /> <form-beans /> <global-exceptions /> <global-forwards > <forward name="entry" path="/jsp/index.jsp" /> </global-forwards> <action-mappings /> <message-resources parameter="foo.bar.struts.ApplicationResources" /> </struts-config>
I'm using MyEclipse 3.8.4/Eclipse 3.0.2 with
4.x-5.x/Jboss 4.x/Jetty 5.x and JDK1.4.2 on WIN32.
Quite sure the solution is something very simple and the real problem is between keyboard and the chair, but anyway thanks if somebody bothers to clear this out for me.
Joined: Sep 11, 2004
Jun 13, 2005 00:42:00
Tried Out your code. Seems to be perfectly fine for me. Probably its just that you have to restart the server once you have made some change in your struts config.
Joined: Jun 11, 2005
Jun 13, 2005 06:19:00
To make things even more interesting, the code above works just fine with my own machine here at home, but not at work ?!
Have you checked out
subject: newbie problem: Cannot find global ActionForward for name entry
Newbie to struts....help with ActionForward error
validation problem in struts
WSAD 5.1.2 caching jsps
Struts weblogic deployment
Exception creating bean of class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015