Struts fans. I am trying to add to the struts 2.0.9 blank application. I tried adding actions based on the excellent book in progress Struts2 in Action.
I tried loading the URL http://ashanti:8080/struts2-blank-2.0.9/chapterTwo/Name.action and got the error There is no Action mapped for action name Can anyone help? Troy struts.xml <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd"> <struts> <constant name="struts.enable.DynamicMethodInvocation" value="false" /> <constant name="struts.devMode" value="true" /> <include file="example.xml"/> <package name="default" namespace="/" extends="strutsdefault"> <action name="Menu"> <result>/menu/Menu.jsp</result> </action> </package> <package name="chapterTwo" namespace="/chapterTwo" extends="struts- default"> <action name="Name"> <result>/chapterTwo/NameCollector.jsp</result> </action> <action name="HelloWorld" class="manning.chapterTwo.HelloWorld"> <result name="SUCCESS">/chapterTwo/HelloWorld.jsp</result> <result name="ERROR">/chapterTwo/Error.jsp</result> </action> </package> <!-- Add packages here --> </struts> -- View this message in context: http://www.nabble.com/Getting-started--mapping-URLs-to-pages-tf4716347.html#a13482290 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]