I didn't notice that the entire message is: jasper.JasperException: Cannot create rewrite URL: java.net.MalformedURLException: Cannot retrive ActionForward named /admin
My forward is called adminMenu, I renamed it from "admin" a while ago. Now, when I look, I don't see the "admin" by itself anywhere. I'm using Tomcat.4.12. I removed the work directories and restarted Tomcat but without success. Here is my entire struts config ... notice that the datasource references are commented out right now. Thanks for your help. Mike ---------------------------------------------------- <?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"> <!-- This is the Struts configuration file for the example application, using the proposed new syntax. NOTE: You would only flesh out the details in the "form-bean" declarations if you had a generator tool that used them to create the corresponding Java classes for you. Otherwise, you would need only the "form-bean" element itself, with the corresponding "name" and "type" attributes. --> <struts-config> <!-- ========== Data Source Configuration =============================== --> <data-sources> <!-- <data-source> <set-property property="maxCount" value="4"/> <set-property property="minCount" value="2"/> <set-property property="description" value="Artimus:MySQL Data Source Configuration"/> <set-property property="driverClass" value="org.gjt.mm.mysql.Driver"/> <set-property property="url" value="jdbc:mysql://localhost:3306/artimus"/> <set-property property="autoCommit" value="true"/> <set-property property="user" value="root"/> <set-property property="password" value=""/> </data-source> --> </data-sources> <!-- ========== Form Bean Definitions =================================== --> <form-beans> </form-beans> <!-- ========== Global Forward Definitions ============================== --> <global-forwards> <forward name="welcome" path="/welcome.do"/> <forward name="adminMenu" path="/adminMenu.do" /> </global-forwards> <!-- ========== Action Mapping Definitions ============================== --> <action-mappings> <action path="/welcome" type="org.apache.struts.actions.ForwardAction" parameter="/WEB-INF/pages/welcome.jsp"/> <action path="/adminMenu" type="org.apache.struts.actions.ForwardAction" parameter="/WEB-INF/pages/admin-menu.jsp"/> </action-mappings> <!-- ========== Controller Configuration ================================ --> <controller> <!-- The "input" parameter on "action" elements is the name of a local or global "forward" rather than a subapp-relative path --> <set-property property="inputForward" value="true"/> </controller> <!-- ========== Message Resources Definitions =========================== --> <message-resources parameter="org.apache.struts.webapp.example.ApplicationResources"/> </struts-config> -----Original Message----- From: Hue Holleran [mailto:hueh@;softwareskills.net] Sent: Friday, November 08, 2002 10:41 AM To: 'Struts Users Mailing List' Subject: RE: html:link question As you say "welcome" works fine, your syntax looks fine. However the error message is a bit strange and doesn't correspond to the name of the forward or of the action! All I can really think of - we find ourselves in this situation a lot by the way and it's always our fault if that's any consolation at all - is to look for possibly a duplicate definition of adminMenu action/a forward that may be causing the problem or that it's actually getting to /WEB-INF/pages/admin-menu.jsp and something there is giving the error you describe. BTW I pasted your code into our sample - we seem to use it a lot ourselves! ... and it worked OK, i.e. for the page with a link for "Adm. Funcs." and on clicking link got a 404: The requested resource (/WEB-INF/pages/admin-menu.jsp) is not available, as to be expected. Maybe try posting your complete struts-config.xml? Sorry can't help, Hue. -----Original Message----- From: [EMAIL PROTECTED] [mailto:mike.witt@;honeywell.com] Sent: 08 November 2002 13:49 To: [EMAIL PROTECTED] Subject: html:link question Hello, I'm having a problem with html:link which gives me the Cannot "retrive ActionForward named /admin" message. My struts config has: <global-forwards> <forward name="welcome" path="/welcome.do"/> <forward name="adminMenu" path="/adminMenu.do" /> </global-forwards> <action-mappings> <action path="/welcome" type="org.apache.struts.actions.ForwardAction" parameter="/WEB-INF/pages/welcome.jsp"/> <action path="/adminMenu" type="org.apache.struts.actions.ForwardAction" parameter="/WEB-INF/pages/admin-menu.jsp"/> </action-mappings> My jsp has: <html:link forward="adminMenu">Administrative Functions</html:link> This gives me the error message. However, if I replace "adminMenu" with "welcome" it works just fine. Also, if I use the page attribute it works for welcome.do and not for adminMenu.do. Any help is appreciated! Mike -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>