Error: Cannot retrieve ActionForward named welcome
I defined the following configuration: index.jsp: logic:redirect forward=welcome/ struts-config.xml: global-forwards forward name=welcome path=/Welcome.do / /global-forwards action-mappings action path=/Welcome type=org.apache.struts.actions.ForwardAction parameter=pages/Welcome.jsp / /action-mappings welcome.jsp: tiles:insert definition=site.login.page flush=true / When I run the application I have the error javax.servlet.ServletException: Cannot create redirect URL: java.net.MalformedURLException: Cannot retrive ActionForward named welcome I don't understand this error. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Error: Cannot retrieve ActionForward named welcome
We're case-sensitive. welcome != Welcome. You defined your foward as Welcome and then asked for welcome -- it does not exist. Change forward=welcome to forward=Welcome. Heligon Sandra wrote: I defined the following configuration: index.jsp: logic:redirect forward=welcome/ struts-config.xml: global-forwards forward name=welcome path=/Welcome.do / /global-forwards action-mappings action path=/Welcome type=org.apache.struts.actions.ForwardAction parameter=pages/Welcome.jsp / /action-mappings welcome.jsp: tiles:insert definition=site.login.page flush=true / When I run the application I have the error javax.servlet.ServletException: Cannot create redirect URL: java.net.MalformedURLException:Cannot retrive ActionForward named welcome I don't understand this error. -- Eddie Bush -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Error: Cannot retrieve ActionForward named welcome
Sorry - I didn't look closely enough (in a hurry to get out the door for an appointment). I don't see a problem ... Heligon Sandra wrote: I defined the following configuration: index.jsp: logic:redirect forward=welcome/ struts-config.xml: global-forwards forward name=welcome path=/Welcome.do / /global-forwards action-mappings action path=/Welcome type=org.apache.struts.actions.ForwardAction parameter=pages/Welcome.jsp / /action-mappings welcome.jsp: tiles:insert definition=site.login.page flush=true / When I run the application I have the error javax.servlet.ServletException: Cannot create redirect URL: java.net.MalformedURLException:Cannot retrive ActionForward named welcome I don't understand this error. -- Eddie Bush -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]