一个特简单的问题(5分)

  • 主题发起人 amartapple
  • 开始时间
A

amartapple

Unregistered / Unconfirmed
GUEST, unregistred user!
这个是JSPBook 3rd里的一个例子
<%@ page contentType="text/html" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
<title>JSP is Easy</title>
</head>
<body bgcolor="white">
<h1>JSP is as easy as ...</h1>
<%-- Calculate the sum of 1 + 2 + 3 dynamically --%>
1 + 2 + 3 = <c:eek:ut value="${1 + 2 + 3}" />
</body>
</html>
我在Tomcat中运行正常
可是用JB9编译却提示前两行错误,错误信息为
"easy.jsp": java.lang.NullPointerException
"easy.jsp": error:eek:rg.apache.jasper.JasperException: Error compiling /easy.jsp
 

Similar threads

S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
820
SUNSTONE的Delphi笔记
S
顶部