<usebean.jsp>代码如下:
<%@ page language="java" import="HelloBean;" %>
<jsp:useBean id="Hello" class=HelloBean" scope="request">
  <jsp:setProperty name="Hello" property="*" />
<jsp:useBean>
+++++++++++++++++++
<%@ page language="java" import="HelloBean" %>
没有分号的

解决方案 »

  1.   

    要学会看错误:
    root cause org.apache.jasper.JasperException: /usebean.jsp(1,31) jsp.error.attribute.noquote
    at org.apache.jasper.compiler.DefaultErrorHandler.jspError肯定是第一行出错,一般象tomcat等都会生成jsp编译后的一个文件在他的目录中,tomcat是在
    tomcat/work/..的
      

  2.   

    <meta http-equiv="Content-Type" context="text/html; charset=gb2312">
                                    ^^^^^^^
    改成:
    content