求助 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
相关问答:
我JSP的页面是:
<%@ page language="java" contentType="text/html; charset=gb2312"
%>
<script>
function Save(){
xmlHttp=GetXmlHttpObject()
if(xmlHttp==nul ......
请我用FCK上传文件,在本地的windows机上测试可以,但部署到linux服务器上就上传不了文件,上传文件时一直卡在那里。望各位大虾指点,谢谢!
路过,帮你顶一下。。。。。。。。。。。。。。
上传文件的路径问题, ......
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& ......
有谁用java做过打印发票的程序,感觉这方面不是很好控制,希望给点建议,最好能给出代码
简单点就调用window.print()
你也可以把下面代码放到你JSP中:
<html>
<head>
<title> ......
如: @superwaring("unchecked");
这个里面都可以取哪些值啊,还有类似的 @superwaring标签有哪些啊
没用过。。
看jee的api
javax.persistence里
@superwaring("unchecked");只是忽略 ......