谁知道在liferay中运用struts为什么我写的jsp不好用,高分求助

来源:百度知道 编辑:UC知道 时间:2024/05/23 20:42:02

你写jsp用的是什么语言,是脚本语言,还是正常的动态JSP,要是动态JSP不好用是正常的 ,你可以改成脚本语言.
<%@ page contentType="text/html; charset=GBK" language="java"%>
<%@ include file="/app/common/init.jsp"%>
<form name="form1" method="post" action="InsertAction"
onSubmit="validate_form_check(this)">
<table width="600" border="0" class="view">
<td colspan="5" align="center"><input name="xm" type="text" id="xm" size="15" maxlength="15"></td>
</tr>
<tr>
<td colspan="5" align="center"><INPUT name="insert" type="submit"
class="button4" id="insert" value="插入"></td>
</tr>
</table>
象这种代码就好用
要是不好用,你上QQ我帮你改吧 我QQ86501873