JSP File;
<HTML>
<HEAD>
<TITLE>JSP测试页面</TITLE>
</HEAD>
<BODY>
<table>
<tr>
    <td><font color = "red"><% out.print("hello!world"); %></font></td>
</tr>
</table></BODY>
</HTML>

解决方案 »

  1.   

    把 Java的  Lib目录下的 tools.jar copy 到你的Tomcat下
      

  2.   

    可能是环境没配好,This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK,少文件包
      

  3.   

    应该是找不到你的javac.exe
    path没有设置好
      

  4.   

    你的jsp 文件是简单得拷贝到root 目录下的么?