单击jsp上的按钮时如何调用动作类?我正在使用struts 1.3
框架
下面是代码片段:
<html:button property="delete" onclick="/deleteZeroScoreCard.do" value="Delete"></html:button>
"/deleteZeroScoreCard"
在struts-config.xml
文件中定义
我得到以下编译错误
Syntax error on token "Non Terminating Regular Expression", no accurate correction available
编辑:
Struts-config.xml
片段
<form-bean name="initiationfrm" type="com.mindcraft.mis.zero.actionform.afInitiation"></form-bean>
<action name="initiationfrm" path="/deleteZeroScoreCard" type="com.mindcraft.mis.zero.actionclass.acZeroScoreCardDeletion">
<forward name="viewdatauploaddppage2" path="zeroInitPage"></forward>
</action>