<%@ page contentType="text/html;charset=GBK"%>
<%@ page import="com.at.dao.ContentDAO"%>
<%@ page import="java.util.*"%><%
ContentDAO dao = new ContentDAO();
String BillId=dao.getMaxId();%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
<title></title>
<script language="javascript">
function doSubmit() { document.myForm.submit();
}</script>
</head><body>
<h3 align=middle>建立订单</h3>
<form method="post" name="myForm" action="contentservlet">
<input type="hidden" name="command" value="Insert">
<input type="hidden" name="forward" value="index.jsp">
<input type="hidden" name="billId" value="<%=BillId%>">
<table width="800" border="1" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="4">订单号:<%=BillId%></td>
</tr>
<tr>
<td>姓名:</td>
<td><input type="text" name="sName" /></td>
</tr>
<tr>
<td colspan="4">
<input type="submit" value="提交" style="cursor:hand" onclick="doSubmit()">
onclick="window.history.back();">
</td>
</tr>
</table>
</form>
</body>
</html>
只是waybill.jsp!网页找不到此页,tomcat报的错误如上。
<%@ page import="com.at.dao.ContentDAO"%>
<%@ page import="java.util.*"%><%
ContentDAO dao = new ContentDAO();
String BillId=dao.getMaxId();%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
<title></title>
<script language="javascript">
function doSubmit() { document.myForm.submit();
}</script>
</head><body>
<h3 align=middle>建立订单</h3>
<form method="post" name="myForm" action="contentservlet">
<input type="hidden" name="command" value="Insert">
<input type="hidden" name="forward" value="index.jsp">
<input type="hidden" name="billId" value="<%=BillId%>">
<table width="800" border="1" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="4">订单号:<%=BillId%></td>
</tr>
<tr>
<td>姓名:</td>
<td><input type="text" name="sName" /></td>
</tr>
<tr>
<td colspan="4">
<input type="submit" value="提交" style="cursor:hand" onclick="doSubmit()">
onclick="window.history.back();">
</td>
</tr>
</table>
</form>
</body>
</html>
只是waybill.jsp!网页找不到此页,tomcat报的错误如上。
解决方案 »
- 新人问下,怎么没有spring web flow跟struts整合的例子,还有
- Struts2配置文件
- 在hibernate官网下载的hibernate3.3 解压后lib目录下面找不到commons-logging-*.jar包
- axis1.4访问php写的webservice
- SSH结构的Form中代码写法问题。
- SOS...JSP问题!我没分~有拉一定给你!
- 有什么办法可以让系统启动的时候java自动设置一个256的虚拟机器内存
- 请问各位高手,在struts中怎样把数据库中的n条记录全部显示出来?
- 如何用jsp或javabean在tomcat中生成xml文档,而不是产生html文档?
- jquery中联动问题!!! 实在是没多少分了
- 急求通过AXIS生成WSDL的步骤和命令
- jsp如何调用JSTL中的变量?
<tr>
<td colspan="4">
<input type="submit" value="提交" style="cursor:hand" onclick="doSubmit()">
onclick="window.history.back();"> //这是什么
</td>
onclick="window.history.back();">
不能同时出现两个onclick