posted 14 years ago
Hey all
I recently decided to evaluate Struts2 for a big project, but am having difficulties mapping actions. I get the "There is no Action mapped fro action name Login..." error when I try running the blank struts2 application.
Here's my grmnt.xml
<package name="model" namespace="model" extends="struts-default">
<action name="Login" class="com.bubbleclip.model.Login">
<result>/web/jsp/LoginSucess.jsp</result>
</action>
</package>
My directory tree looks like the following:
application/src/com/bubbleclip/model/Login.java
application/src/com/bubbleclip/model/Login-validation.xml
application/src/com/bubbleclip/model/Package.properties
application/src/ grmnt.xml
application/src/struts.xml
application/web/jsp/index.jsp (<a href="<s:url action="Login"/>" target="mainFrame">Login</a>)
application/web/jsp/LoginSucess.jsp
application/web/WEB-INF/web.xml