title: How to find missing parameter OR wrong param [No result defined for action and result input] in Struts2
body: <p>I have following code snippets</p>
  <p><strong>From <code>struts.xml</code>:</strong></p>
  <pre><code>&lt;action name=&quot;list-process-solution&quot; class=&quot;actions.ProcessSolutionAction&quot; method=&quot;listProcessSolutions&quot;&gt;
      &lt;interceptor-ref name=&quot;store&quot;&gt;
          &lt;param name=&quot;operationMode&quot;&gt;RETRIEVE&lt;/param&gt;
      &lt;/interceptor-ref&gt;
      &lt;interceptor-ref name=&quot;defaultStack&quot;/&gt;
      &lt;result name=&quot;success&quot;&gt;process_solution_list.jsp&lt;/result&gt;
      &lt;result name=&quot;input&quot;&gt;process_solution_list.jsp&lt;/result&gt;
      &lt;result name=&quot;error&quot;&gt;Error.jsp&lt;/result&gt;
      &lt;result name=&quot;login&quot;&gt;Login.jsp&lt;/result&gt;
  &lt;/action&gt;
  
  &lt;action name=&quot;delete-process-solution&quot; class=&quot;actions.ProcessSolutionAction&quot; method=&quot;crudProcessSolution&quot;&gt;
      &lt;interceptor-ref name=&quot;store&quot;&gt;
          &lt;param name=&quot;operationMode&quot;&gt;STORE&lt;/param&gt;
      &lt;/interceptor-ref&gt;
      &lt;interceptor-ref name=&quot;defaultStack&quot;/&gt;
      &lt;result name=&quot;success&quot; type=&quot;redirectAction&quot;&gt;
          &lt;param name=&quot;actionName&quot;&gt;list-process-solution&lt;/param&gt;
          &lt;param name=&quot;nsec&quot;&gt;${nsec}&lt;/param&gt;
      &lt;/result&gt;
      &lt;result name=&quot;error&quot;&gt;Error.jsp&lt;/result&gt;
      &lt;result name=&quot;login&quot;&gt;Login.jsp&lt;/result&gt;
  &lt;/action&gt;
  </code></pre>
  <p>After deleting I'm redirecting to List Page ( same again Page )</p>
  <p><em>But</em> I'm getting result as <code>INPUT</code> don't know where I'm wrong.</p>
  <p><strong>I have configured this link for delete</strong>:</p>
  <pre><code>&lt;s:url var=&quot;varDeletePS&quot; action=&quot;delete-process-solution&quot;&gt;
      &lt;s:param name=&quot;nsec&quot;&gt;
          &lt;s:property value=&quot;nsec&quot;/&gt;
      &lt;/s:param&gt;
      &lt;s:param name=&quot;processId&quot;&gt;
          &lt;s:property value=&quot;processId&quot;/&gt;
      &lt;/s:param&gt;
      &lt;s:param name=&quot;opType&quot;&gt;
          &lt;s:property value=&quot;2&quot; /&gt;
      &lt;/s:param&gt;
  &lt;/s:url&gt;
  &lt;s:a href=&quot;%{varDeletePS}&quot; id=&quot;id-delete-PS-link&quot; cssClass=&quot;class-delete&quot;&gt;
      Delete
  &lt;/s:a&gt;
  </code></pre>
  <p><strong>In action, I have these fields with getters and setters</strong>:</p>
  <pre><code>private ProcessSolution processSolution;
  private short opType;
  private String nsec;
  </code></pre>
  <p>For Model <code>ProcessSolution</code> refer this <a href="https://stackoverflow.com/q/40583282/3425489">link</a></p>
  <p><strong>My Question is:</strong></p>
  <p>How to handle result name <code>INPUT</code> here ? I don't know which parameter is wrong ?</p>
  <p><strong>Update :</strong></p>
  <p>How to continue with same request after <code>redirectAction</code>, so I will have my request parameters ?</p>
  <p>How to identify which field having error ?</p>
  <p><strong>UPDATE 2 :</strong></p>
  <p>My <code>delete-process-solution</code> executing properly but on result <code>SUCCESS</code> , and <code>redirectAction</code> to <code>list-process-solution</code>, I'm getting result as <code>INPUT</code>.</p>