I imagine this problem will probably be a breeze for someone out there, so I feel like an idiot for asking this, but I'll ask anyway. I have a form that I'm trying to get to call my Action class, and I'm getting the following error message.
HTTP Status 404 - There is no Action mapped for namespace / and action name ProcessComment.
--------------------------------------------------------------------------------
type Status report
message There is no Action mapped for namespace / and action name ProcessComment.
description The requested resource (There is no Action mapped for namespace / and action name ProcessComment.) is not available.
The header line in my form is as follows:
<s:form action="ProcessComment" method="post">
Here is my struts.xml:
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<package name="ghs86reunion" namespace="/" extends="struts-default">
<!--
========== Action Mapping Definitions ==============================
-->
<action name="ProcessComment" class="action.ProcessComment">
<result name="SUCCESS">/CommentPage.jsp</result>
<result name="FAILURE">/CommentPage.jsp</result>
</action>
</package>
</struts>
Any advice?