Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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 ?!
I agree. Here's the link:
subject: newbie problem: Cannot find global ActionForward for name entry
Exception creating bean of class
Newbie to struts....help with ActionForward error
WSAD 5.1.2 caching jsps
Struts weblogic deployment
validation problem in struts
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013