title: Calling Action Class on click of button
body: <p>How do i call an action class when a button on a jsp is clicked?. I am using <code>struts 1.3</code> framework</p>
  
  <p>Below is the code snippet:</p>
  
  <pre><code>&lt;html:button property="delete" onclick="/deleteZeroScoreCard.do" value="Delete"&gt;&lt;/html:button&gt;
  </code></pre>
  
  <p><code>"/deleteZeroScoreCard"</code> is defined in <code>struts-config.xml</code> file</p>
  
  <p>I am getting below compile error</p>
  
  <pre><code>Syntax error on token "Non Terminating Regular Expression", no accurate correction available
  </code></pre>
  
  <p>Edit:</p>
  
  <p><code>Struts-config.xml</code> snippet</p>
  
  <pre><code>   &lt;form-bean name="initiationfrm" type="com.mindcraft.mis.zero.actionform.afInitiation"&gt;&lt;/form-bean&gt;
  
      &lt;action name="initiationfrm" path="/deleteZeroScoreCard" type="com.mindcraft.mis.zero.actionclass.acZeroScoreCardDeletion"&gt;
          &lt;forward name="viewdatauploaddppage2" path="zeroInitPage"&gt;&lt;/forward&gt;
  
      &lt;/action&gt;
  </code></pre>