description :The server encountered an internal error () that prevented it from fulfilling this request.
到底是什么故障呀???

解决方案 »

  1.   

    <%
    double salary=0;
    try{
    salary=Double.parseDouble((String)request.getParameter("salary"));
    }
    catch(Exception e){}
    %>这边少了个括号
    上面的import建议分开来写,有的包我这没有,不好调试了
      

  2.   

    按大侠所说去调试,但又有新的犯错误呀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:87)
    org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:311)
    org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:378)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:421)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:402)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:512)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:262)
      

  3.   

    tomcat配置参数再好好检查一下吧。