试了一下,搞定:
<script type="text/javascript" language="Javascript1.1">
<!--
//脚本语言只能对网页界面的元素进行操作,涉及不到request
function submitShow0(){
document.forms[0].action="/codesoft/qicai/apply/showcl.do?showCL=0"
document.forms[0].submit();
}
function submitShow1(){
document.forms[0].action="/codesoft/qicai/apply/showcl.do?showCL=1"
document.forms[0].submit();
}
//-->
</script>
<html:form action="/qicai/apply/showcl.do" method="POST" enctype="multipart/form-data">
<tr>
<td> </td>
<td>
<%---把材料的资料显示在该网页上--%>
<html:submit property="submit1" value="查看资料" οnclick="submitShow1();return false"/>
<%---不让材料的信息显示在网页上--%>
<html:submit property="submit0" value="取消" οnclick="submitShow0();return false"/>
</td>
</tr>
</html:form>