大虾们好:
    我机子上现在jdk6、tomcat6、sqlserver2000都已经装好了,数据库中的表已经也建立好了。
但是准备部署jsp项目的时候老是报Unable to load class for JSP。
这是list.jsp的源代码,希望哪位大虾帮我看看怎么回事。
<!--中文编码设置-->
<%@ page contentType="text/html; charset=gb2312"%>
<%@ page pageEncoding="gb2312"%>
<%@ page import="demo.*"%>
<%@ page import="java.util.*"%>
<%@ page import="java.text.*"%><%
SimpleDateFormat sdf = new SimpleDateFormat("yyyy年MM月dd日"); int curPage = (request.getParameter("curPage") == null) ? 1
: Integer.parseInt(request.getParameter("curPage"));
//int curPage = request.get1; int pageSize = Product.getPageSize();
int allCount = Product.getCount();
int allPages = (allCount + pageSize - 1) / pageSize;
List products = Product.getPageProduct(curPage);
%>
<html>
<head>
<title>网上购物系统</title>
<link rel=stylesheet href="../css/dcp.css" type="text/css">
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="0">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->    <style type="text/css">
<!--
@import url("CSS/001.css");
-->
    </style>
</head>
<Script language="javascript">
function add() {
location.href = "padd.jsp"
}
function edit() {
    var obj = document.all["chkProduct"];
    var count = 0;
    if(obj==null) {
        alert("没有可修改的商品!");
        return;
    }
    if(obj[0]==null) {
        if(obj.checked){
            count++;
            value = obj.value;
        }
    }else{
        for(i=0;i<obj.length;i++) {
            if(obj[i].checked) {
                count++;
                value = obj[i].value;
            }
        }
    }
    if(count==0) {
        alert("请选择要修改的商品!")
        return;
    }
    if(count>1){
        alert("请只选择一个商品编辑!")
        return;
    } //alert("pedit!"+value);
    location.href = "pedit.jsp?id="+value;
}
function query() {
    var obj = document.all["chkProduct"];
    var count = 0;
    if(obj==null) {
        alert("没有可查询的商品!");
        return;
    }
    if(obj[0]==null) {
        if(obj.checked){
            count++;
            value = obj.value;
        }
    }else{
        for(i=0;i<obj.length;i++) {
            if(obj[i].checked) {
                count++;
                value = obj[i].value;
            }
        }
    }
    if(count==0) {
        alert("请选择要查询的商品!")
        return;
    }
    if(count>1){
        alert("请只选择一个商品查询!")
        return;
    } //alert("edit!"+value);
    location.href = "pquery.jsp?id="+value;
}function changepage(){
if(document.all["select"].value=="1"){
          location.href="pname.jsp";
}
else if(document.all["select"].value=="2"){
      location.href="pstyle.jsp";
}
else location.href="price.jsp";
}function del() {
    var obj = document.all["chkProduct"];
    var count = 0;
    if(obj==null) {
        alert("没有可删除的商品!");
        return;
    }
    if(obj[0]==null) {
        if(obj.checked){
            count++;
            value = obj.value;
        }
    }else{
        for(i=0;i<obj.length;i++) {
            if(obj[i].checked) {
                count++;
                value = obj[i].value;
            }
        }
    }
    if(count==0) {
        alert("请选择要删除的商品!")
        return;
    }
    //alert("edit!"+value);
    frmAction.action="pdeleteAction.jsp";
    frmAction.submit();
}
function pageQuery(page) {
   //alert("page:"+page);
   location.href = "list.jsp?curPage="+page;
}</Script> <body topmargin="10" leftmargin="10" ondrag="return false">
<table width="750" border="0" cellpadding="0" cellspacing="0"
bgcolor="#ffffff" class="tex004" align="left">
<!--CoolBar Menu --> <td id="addbutton" align="center">
<div align="left">
  <select name="select">
                <option value="1" selected>
    商品名称
                </option>
                <option value="2">
    商品类型
                </option>
                <option value="3">
    商品价格
                </option>
                    </select>
  <input type="button" onclick="changepage()" value="查询">
&nbsp;&nbsp;
      </div></td>

</table>
   
</body>
</html>