JSP中遇到的问题,我用的JBuilder2006
错误信息:
"cymxleftcx.jsp ":
org.apache.jasper.JasperException: file:E:/hp_Touch/hp_Touch/fycx/cymxleftcx.jsp(16,0) Plugin: Mandatory attribute type missing
'try ' without 'catch ' or 'finally '
illegal start of type
<identifier> expected
'class ' or 'interface ' expected
'class ' or 'interface ' expected
"_zymxleftcx.jsp ": cannot find symbol; symbol : class string, location: class org.apache.jsp.fycx._005fzymxleftcx_jsp
"zymxleft.jsp ": cannot find symbol; symbol : class string, location: class org.apache.jsp.fycx.zymxleft_jsp
源文件如下:
<%@page contentType= "text/html; charset=GBK " language= "java " import= "java.sql.*,DBBean.* "
errorPage= " "%>
<%
Connection con = ConnectDB.connectCon();
Yjxmcost cost1 = new Yjxmcost();
Brinfo info = new Brinfo();
request.setCharacterEncoding( "GBK ");
%>
<html>
<head>
<title> 触摸屏系统 </title>
<link rel= "stylesheet " type= "text/css " href= "../css/touch.css ">
</head>
<body style= "overflow-y:hidden;overflow-y:hidden " ONMOUSEDOWN= "DepressButton(); " ONMOUSEOVER= "RaiseButton(); " ONMOUSEUP= "RaiseButton(); ">
<script language= "JavaScript "
src= "../js/button.js " type= " "> </script>
<jsp:plugin code= " " codebase= " "> </jsp:plugin>
<%
String zyh = (String) session.getAttribute( "zyh ");
String zycs = (String) session.getAttribute( "zycs ");
String colvalue[] = new String[6];
colvalue = info.selectValue(con, "zycybrjbxxb where zyh = ' " + zyh + " ' and zycs= ' " + zycs + " ' ");
ResultSet rs1 = null;
rs1 = cost1.selectValue(con, "ZYBB_ALLFY_cur a, ZDzysfxmyjkmb b where a.yjxmdm=b.dm and a.zyh= ' " + zyh + " ' and a.zycs= ' " + zycs + " ' group by a.yjxmdm,b.mc ");
%>
<TABLE cellSpacing=0 cellPadding=0 width= "265 " align= "left " border= "0 " bgcolor= "#003663 ">
<TBODY>
<TR>