求助 jsp运行时找不到java文件 - Web 开发 / 其他
正在学jsp,想要做把数据插入到数据库的功能,所以写了一个insert.jsp文件和一个record.java文件
但是运行时显示找不到该java文件
在MyEclipse运行时显示如下type Status report
message /MyShop/record
description The requested resource (/MyShop/record) is not available.
insert.jsp代码:
<title>insert</title>
<script language="javascript">
function buy()
{
document.form1.submit();
}
function check()
{
if(document.form.atitle.value=="")
{
alert("标题不能为空");
document.form.atitle.focus();
return false;
}
else if(document.form.alocation.value=="")
{
alert("地点不能为空");
document.form.alocation.focus();
return false;
}
else if(document.form.amoney.value=="")
{
alert("金额不能为空");
document.form.amoney.focus();
return false;
}
else
{
form.action="record";
form.target="_parent";
form.submit();
}
}
</script>
<META http-equiv=Content-Type content="te
相关问答:
当知道一个日期,如何把这个日期所在旬的前后两个日期取出
比如输入20090905,就输入20090901 20090910
输出20090901 20090910
取得天数后作一下判断再把这个方法用下void set(int field, int value)
......
一个JSP页面接收其他页面提交过来的FORM表单,但是要求只接收当前站点及其子站点提交过来的FORM表单,其他站点提交过来的表单不接收,这个怎么设置?
用过滤器
filter
将当前站点及其子站点放一个目录
然 ......
我JSP的页面是:
<%@ page language="java" contentType="text/html; charset=gb2312"
%>
<script>
function Save(){
xmlHttp=GetXmlHttpObject()
if(xmlHttp==nul ......
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 52 in the jsp file: /vip_info.jsp
ÕË cannot be resolved
49: <table border="1& ......