日期:2014-05-18  浏览次数:21731 次

请各位大侠帮忙解决一个no start tag问题
小弟正在学习java,在调试书上一个JSP范例时,老提示no   start   tag!
范例本身没问题,是不是MyEclipse的问题?
程序如下:(2个@@@@@@@@@处为出错地方):(先谢过了!)

<%session.setAttribute( "USERID ",   "1 ");%>

<!—在JSP页面中调用JavaBean-->
<%@   page   language= "java "   import= "java.util.* "   pageEncoding= "UTF-8 "%>
<%@   page   import= "com.buy.bean.coin.UsercoinSelectBean "%>
<%@   page   import= "com.buy.bean.coin.ConsumeSelectBean1 "%>
<%@   page   import= "java.sql.* "%>

<!--实例化一个JavaBean,取名为selectUsercoinBean-->
<jsp:useBean   id= "selectUsercoinBean "   class= "com.buy.bean.coin.UsercoinSelectBean "   scope= "request ">
</jsp:useBean>
<jsp:useBean   id= "consume "   class= "com.buy.bean.coin.ConsumeSelectBean1 "   scope= "request ">
</jsp:useBean>
<%String   path   =   request.getContextPath();
String   basePath   =   request.getScheme()   +   ":// "
+   request.getServerName()   +   ": "   +   request.getServerPort()
+   path   +   "/ ";
%>
<style   type= "text/css ">
<!--
@import   url( "../Buy/style/cal/rightcal_style01.css ");
-->
</style>
<!DOCTYPE   HTML   PUBLIC   "-//W3C//DTD   HTML   4.01   Transitional//EN ">
<html>
<head>
<base   href= " <%=basePath%> ">
<meta   http-equiv= "Content-Type "   content= "text/html;   charset=gb2312 ">
<title> 导航 </title>
</head>

<body   topmargin= "0 ">
<!—在JSP中使用JavaBean,先获得session中userid的值。再根据值作为参数调用JavaBean
取得用户的各个属性值,以便在JSP页面上显示-->
<%String   ID   =   (String)   session.getAttribute( "USERID ");
String   Balance   =   selectUsercoinBean.selectUsercoin(ID,   0);
String   Consume   =   selectUsercoinBean.selectUsercoin(ID,   1);
String   All   =   selectUsercoinBean.selectUsercoin(ID,   2);
String   NAME   =   selectUsercoinBean.selectUsercoin(ID,   3);
String   TYPE   =   selectUsercoinBean.selectUsercoin(ID,   4);

%>

<div   align= "center ">
<%@   include   file= "/COIN/left.jsp "%>
@@@@@@@@出错 </td>
<td   width= "10 "   rowspan= "7 "   align= "center ">
&nbsp;
</td>
<td   height= "10 "   colspan= "2 "   align= "center ">
&nbsp;
</td>
@@@@@@@@出错 </tr>
<tr>
<td   height= "25 "   class= "cal_content02 ">
<table   width= "100% "   height= "25 "   border= "0 "   cellpadding= "0 "   cellspacing= "0 "   class= "left_td01 ">
<tr>
<td   class= "left_td1 ">
<!—在JSP页面中显示查询结果-->