sos:jsp中"语法错误,将“;”插入到完整 Statement 中"如何改正?

billcsh 2005-09-01 09:28:17
严重性 描述 资源 所在文件夹 位置 创建时间
2 语法错误,将“;”插入到完整 Statement 中 notifydetails.jsp office/office 第 8 行 2005年9月1日 8:32:27
严重性 描述 资源 所在文件夹 位置 创建时间
2 语法错误,将“AssignmentOperator ArrayInitializer”插入到完整 ArrayInitializerAssignement 中 notifydetails.jsp office/office 第 8 行 2005年9月1日 8:32:27

<%@ page contentType="text/html; charset=gb2312" language="java"
import="java.sql.*" errorPage="error.jsp" %>
<jsp:useBean id="db" scope="application" class="util.sql_data" />
<%
String notifyid=request.getParameter("id");

if ((notifyid!=null)&&(notifyid.length()>0))
Notify anotify=db.getaNotify(notifyid);*******************第8行

if (anotify==null)
{
out.println("公告id="+id+"不存在!");
return; }
else{
%>


...全文
780 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
billcsh 2005-09-01
  • 打赏
  • 举报
回复
<%@ page contentType="text/html; charset=gb2312" language="java"
import="java.sql.*"
import="util.*"
errorPage="error.jsp" %>
<jsp:useBean id="db" scope="application" class="util.sql_data" />
<%
String notifyid=request.getParameter("id");

if (notifyid!=null) //&&(notifyid.length()>0))
Notify anotify=db.getaNotify(notifyid);********************

if (anotify==null)
{
out.println("公告id="+id+"不存在!");
return; }
else{
%>

58,455

社区成员

发帖
与我相关
我的任务
社区描述
Java Eclipse
社区管理员
  • Eclipse
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧