把rock.jsp的代码贴出来看看~~~

解决方案 »

  1.   

    什么rock.jsp呀?HTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception org.apache.jasper.JasperException: Unable to compile class for JSPNo Java compiler was found to compile the generated source for the JSP. 
    This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK 
    to the common/lib directory of the Tomcat server, followed by a Tomcat restart. 
    If using an alternate Java compiler, please check its installation and access path. org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)
    org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
    org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    note The full stack trace of the root cause is available in the Tomcat logs.
    --------------------------------------------------------------------------------Apache Tomcat/5.0.16在线等候!
      

  2.   

    org.apache.jasper.JasperException: /up/rock.jsp(18,0) The value for the useBean class attribute rock.myoracle_scroll is invalid.错误就这/up/rock.jsp(18行)  rock这个bean的myoracle_scroll 有问题
      

  3.   

    Unable to compile class for JSP--->jdk不能编译jsp中用到的class
    现在的我机子访问别人的jsp网站---〉跟你的机器无关,你访问别人的网站,only需要浏览器,有问题也是服务器的问题
      

  4.   

    你确信你的配置没有问题么?
    http://community.csdn.net/Expert/FAQ/FAQ_Index.asp?id=21097
    http://community.csdn.net/Expert/FAQ/FAQ_Index.asp?id=4042
    请查考
      

  5.   

    标签<jsp:userbean
    没问题吧
      

  6.   

    错误信息中已经包含解决方法了:No Java compiler was found to compile the generated source for the JSP. 
    This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK 
    to the common/lib directory of the Tomcat server, followed by a Tomcat restart.