请问如下JSP代码为何在JB中编译时报错??

CeleronWind CeleronWind 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
<body>
<p>
<h1> Do you have enough?</h1>
<br>
<%-- Get paramaters from the request object --%>
<% String firstName = request.getParameter("fName"); %>
<% String balance = request.getParameter("bal"); %>
<%-- Convert the bal paramater from String to double --%>
<% double accountBalance = Double.valueOf(balance).doubleValue(); %>
<%-- Output results --%>
Balance for <%=firstName %>: <%=accountBalance %> <br>
<br>
<%-- Is balance high enough? --%>
<%
if(accountBalance <= 100.00)
{
%>
<b> Get a Job. </b> <br>
<%
}
%>
</body>
...全文

相关推荐

评论 2
收藏 已收藏
分享
返回顶部
CeleronWind
Web 开发 81,108 成员 341,720 内容