MYSQL语法最后的引号不知道怎么加
Anerroroccurredatline:62inthejspfile:/fengye.jspDuplicatelocalvariablers59://判断起始页60:...
An error occurred at line: 62 in the jsp file: /fengye.jsp
Duplicate local variable rs
59: //判断起始页
60: spage = (cpage - 1) * ipage;
61: String sql="SELECT * FROM message Order By msgid Desc LIMIT "+spage+','+ipage+"'";
62: ResultSet rs = smt.executeQuery(sql);
63: %>
64:
65: <table width="500" border="0" align="center" cellpadding="0" cellspacing="0"> 展开
Duplicate local variable rs
59: //判断起始页
60: spage = (cpage - 1) * ipage;
61: String sql="SELECT * FROM message Order By msgid Desc LIMIT "+spage+','+ipage+"'";
62: ResultSet rs = smt.executeQuery(sql);
63: %>
64:
65: <table width="500" border="0" align="center" cellpadding="0" cellspacing="0"> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询