各位进来看看. 括号太多了吧if((rs.last())&&(rs.first())){%>主页在web.xml中配置. 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 括号没有多啊.我知道在web.xml是配置.在具体怎么配置呢?? <welcome-file-list> <welcome-file>jkd.html</welcome-file></welcome-file-list> web.xml<welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> </welcome-file-list>添加你需要的主页 <%if(!rs.next()){%><tr> <td bgcolor="#FFFFFF" nowrap colspan="2"> <font color="#FF0000">·</font>错误:没有此留言 ! </td></tr><%}else{%> 不行指的是什么?是运行报错呢,还是没有显示内容?报错的话,可能rs是null, Hibernate问题 hql语句问题 很急... 如何采用include 动态地访问action,返回一个页面? jsp跳转到下个页面的问题(程序如下) jspsmartupload 文件长传问题 Struts2的action执行时间比较长,导致不能跳转页面,该如何处理? 在Win2000开发 JSP程序能否轻易移植到Linux? 请大家帮帮忙!)怎样得到两个日期差之间的所有日期值?急!!! 如何实现session中的值的递减功能? httpclient抓取页面返回信息不全 实习时工资多少? 页面include后如何能保持bean实例?
我知道在web.xml是配置.在具体怎么配置呢??
<welcome-file>jkd.html</welcome-file>
</welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
添加你需要的主页
if(!rs.next()){
%>
<tr>
<td bgcolor="#FFFFFF" nowrap colspan="2">
<font color="#FF0000">·</font>错误:没有此留言 !
</td>
</tr>
<%}else{%>