Note that there are some explanatory texts on larger screens.

plurals
  1. POcannot retrieve mapping for action error
    primarykey
    data
    text
    <p>im using struts 1.2 and trying to create a link in jsp page with code</p> <pre><code>&lt;html:link href="AdminModule/UserCreation.jsp" &gt; Create User &lt;/html:link&gt; ` </code></pre> <p>so that the link will move to page UserCreation in which the code like this is present</p> <pre><code>&lt;html:form action="/adminUserCreation"&gt; AdminName : &lt;html:text property="username"/&gt;&lt;html:errors property="username"/&gt;&lt;br/&gt; Password : &lt;html:password property="password"/&gt;&lt;html:errors property="password"/&gt;&lt;br/&gt; &lt;html:submit/&gt; &lt;/html:form&gt; </code></pre> <p>the struts-config file contain code like this</p> <pre><code>&lt;form-beans&gt; &lt;form-bean name="adminUserCreationForm" type="Admin.Form.AdminUserCreationForm" /&gt; &lt;/form-beans&gt; &lt;action-mappings&gt; &lt;action attribute="adminUserCreationForm" input="/AdminModule/AdminHomePage.jsp" name="adminUserCreationForm" path="/adminUserCreation" scope="request" type="Admin.Action.AdminUserCreationAction" validate="false"&gt; &lt;set-property property="cancellable" value="true" /&gt; &lt;forward name="failure" path="/AdminModule/AdminErrorPage.jsp" /&gt; &lt;forward name="success" path="/AdminSuccessPage.jsp" /&gt; &lt;/action&gt; &lt;/action-mappings&gt; </code></pre> <p>im getng exception</p> <pre><code> An exception occurred processing JSP page /AdminModule/UserCreation.jsp at line 30 30: &lt;html:form action="/adminUserCreation"&gt; 31: AdminName : &lt;html:text property="username"/&gt;&lt;html:errors property="username"/&gt;&lt;br/&gt; 32: Password : &lt;html:password property="password"/&gt;&lt;html:errors property="password"/&gt;&lt;br/&gt; 33: &lt;html:submit/&gt; </code></pre> <p>root cause is </p> <pre><code>javax.servlet.ServletException: javax.servlet.jsp.JspException: Cannot retrieve mapping for action /adminUserCreation </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload