Hello everyone, I am following the Struts2 Getting Started tutorial at http://struts.apache.org/development/2.x/docs/getting-started.html I reached the "Struts 2 Annotations". I downloaded the Maven version: Struts2_Annotations_Mvn_2_2_1.zip Then, I updated the pom.xml file to get the latest packaged compiled and ran the WAR under a JBoss AS 7.1 (struts2 version 2.3.12).
However, it seems it doesn´t find the actions correctly. It just shows the register form (register-input.jsp) because it exists under WEB-INF/content: - Index.jsp: <p><a href="<s:url action='hello' />" >Get your hello.</a></p> <p><a href="<s:url action='register-input' />" > Register for the drawing.</a></p> - For instance, for the 'hello' action I get the following error: "There is no Action mapped for namespace [/] and action name [hello] associated with context path [/Struts2_Annotations_Mvn]." - And HelloAction.java (org.apache.struts.struts2annotations.action.HelloAction.java): public String execute() throws Exception { logger.info("In execute method of class Hello"); message = "Hello from Struts 2 with no XML configuration."; return SUCCESS; } Is it possible to fix this project? Thanks in advance P Please consider the environment before printing this e-mail. ______________________ This message including any attachments may contain confidential information, according to our Information Security Management System, and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it. ______________________ Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje erroneamente, se ruega lo notifique al remitente y proceda a su borrado. Gracias por su colaboracion. ______________________ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org