一个让我迷惑的问题?
jdk和jswdk都已经安装好,他本身的例子也已经能用了,我写了一个简单的例子!
<%@ page info="a hello world example" %>
<html>
<head><title>Hello, World</title></head>
<%!String str="0";%>
<%for (int i=1; i < 10; i++) {
str = str + i;
}%>
JSP 输出之前。
<P>
<%= str %>
<P>
JSP 输出之后。
</body>
</html>
可是执行后
Error: 500
Unable to compile class for JSP
谁能帮帮我???这是怎么回事?