jsp主页加载不完全,其他功能正常,tomcat没报错。这是连库类的问题吗?还是异常,或表单串了?
主页index.html加载时显示不完全可能是什么原因啊?
16 个解决方案
#1
啥意思
#2
主页 很多栏目显示不出来
好像数据没传完?
好像数据没传完?
#3
用dreamweaver看看能不能出来
如果不行
那就是你的代码问题
如果不行
那就是你的代码问题
#4
你的是什么版本的呀,这个还没遇见过。顺便把你的配置说明一下
#5
不能在dm里显示
我的index.jsp实显示不出来的
只是一些小框挤在一起
我可以重作表单,但会不会是连库的代码 类什么的问题呢?
我的index.jsp实显示不出来的
只是一些小框挤在一起
我可以重作表单,但会不会是连库的代码 类什么的问题呢?
#6
这是代码
我还能拽出一些显示的
但不全
现在网站正在运行
但我不敢停
我怕一装上 就显不主页了
现在网站正常运行 考回代码一装起来 就主页显示不完全 其它功能正常!
谢谢各位了!<%@ include file="inc/incdb.jsp"%>
<%@ page contentType="text/html;charset=gbk" %>
<LINK href="/css/css.css" rel=stylesheet type=text/css>
<html>
<head>
<title>南岗**主页</title>
<script>
function newin(url)
{
window.open(url,"","height=450,width=600,scrollbars=yes")
}
function newin_down(url)
{
window.open(url,"","height=200,width=400,scrollbars=yes")
}
</script>
</head>
<body background="img/ngbg.gif" topmargin="0">
<table width="760" border="1" align="center" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
<tr>
<td align="center"><%@ include file="/inc/banner.inc"%></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
<tr valign=top>
<td height="104">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width=160>
<%@ include file="/inc/left.inc"%>
</td>
</tr>
<tr>
<td bordercolor="#6600CC" bordercolordark="#0000FF">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#FF0000">
<tr>
<td align="center">
<TABLE width="145" border="0" cellpadding="0">
<TR>
<TD align=center><A HREF="/headmail/headmail.jsp"><IMG SRC="img/index/jz.gif" WIDTH="141" HEIGHT="23" BORDER="0" ALT="局长信箱"></A></TD>
</TR>
<TR>
<TD align=center><A HREF="/sms/mail.jsp"><IMG SRC="img/index/sms.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="站内短信"></A></TD>
</TR>
<TR>
<TD align=center><A HREF="/bddown/bddown.jsp?lm_msid=0"><IMG SRC="img/index/bdan.gif" WIDTH="138" HEIGHT="23" BORDER="0" ALT="表单下载"></A></TD>
</TR>
<TR>
<TD align=center><A HREF="/phone/phone.jsp"><IMG SRC="img/index/tx.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="通讯号簿"></A></TD>
</TR>
<TR>
<TD align=center><A HREF="userlist.jsp"><IMG SRC="img/index/zx.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="在线状态"></A></TD>
</TR>
<TR>
<script>
function vir() {window.open("/vir.jsp","tv","toolbar=no,width=300,height=300,resizable=yes,top=150,left=200,status=no,menubar=no,scrollbars=no,resizable=no");}
function building() {window.open("/building.jsp","t23v","toolbar=no,width=300,height=250,resizable=yes,top=150,left=200,status=no,menubar=no,scrollbars=no,resizable=no");}
</script>
<TD align=center><A HREF="article.jsp?lm_id=208"><IMG SRC="img/index/bd.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="病毒预警"></A></TD>
</TR>
<TR>
<TD align=center><A HREF="cfd/qdcx.jsp?action=mtx"><IMG SRC="img/index/qd.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="网上签到"></A></TD>
</TR>
<TR>
<TD align=center> <!--<A HREF="/ljy/zdjz/zdjz.jsp"> -->
<A HREF="/zzjz/zzjza/login.htm" target=_blank> <IMG SRC="img/index/zz.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="自助建站"></A></TD>
</TR>
<TR>
<TD align=center><!-- <A HREF="/ljy/zdjz/zdjz.jsp"> -->
<A HREF="/fjjb/fjjb.jsp?lm_msid=0"><IMG SRC="img/index/jb.jpg" WIDTH="140" HEIGHT="23" BORDER="0" ALT="*简报"></A></TD>
</TR>
<tr>
<% DBConnect dbczhkp = new DBConnect();
// 根据“所属区域id“查询 内容:注意?的使用
dbczhkp.prepareStatement("SELECT * FROM T_LM WHERE LM_TYPE=? ");
dbczhkp.setInt(1,13);
ResultSet rszhkp = dbczhkp.executeQuery();
if (rszhkp.next())
{
%>
<TD align=center><A href="/zhkp/zhkp.jsp"><IMG SRC="img/index/zh.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="综合考评"></A></TD>
<%
}
dbczhkp.close();
%></td>
</tr>
<tr>
<td align=center>
<%
DBConnect cjljdbc = new DBConnect();
// 根据“所属区域id“查询 内容:注意?的使用
cjljdbc.prepareStatement("SELECT * FROM T_LM WHERE LM_MSID=? group by LM_NAME");
cjljdbc.setInt(1,3);
ResultSet cjljrs = cjljdbc.executeQuery();
if (cjljrs.next())
{
%>
<a href="/ljy/yqlj/link.jsp?id=<%=cjljrs.getInt("LM_ID")%>"><IMG SRC="img/index/xg.jpg" WIDTH="139" HEIGHT="23" BORDER="0" ALT="相关链接"><%//=cjljrs.getString("LM_NAME")%></a><br>
<%
}
cjljdbc.close();
%>
</td>
</tr>
<!-- <tr>
<td><%@ include file="/cjlj.jsp"%></td>
</tr>
--> <tr>
<td align="center" class="menu"><IMG SRC="img/index/login.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="会员入口"></td>
</tr>
<tr>
<td> <%@ include file="/inc/login.inc"%> </td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#99FF33">
<tr>
<td align="center"><%@ include file="/soso/soso.htm"%></td>
</tr>
</table></td>
</tr>
<TR>
<TD>
<!-- 计数器 -->
<CENTER><%@include file="/inc/ngcounter.inc"%>您是第<%//=count%> </CENTER>
<table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align=center>
<table width="140" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="5"><img src="/img/index/jsq1-1.gif" width="5" height="5"></td>
<td width="125"><img src="/img/index/jsq1-2.gif" width="129" height="5"></td>
<td width="10"><img src="/img/index/jsq1-3.gif" width="7" height="5"></td>
我还能拽出一些显示的
但不全
现在网站正在运行
但我不敢停
我怕一装上 就显不主页了
现在网站正常运行 考回代码一装起来 就主页显示不完全 其它功能正常!
谢谢各位了!<%@ include file="inc/incdb.jsp"%>
<%@ page contentType="text/html;charset=gbk" %>
<LINK href="/css/css.css" rel=stylesheet type=text/css>
<html>
<head>
<title>南岗**主页</title>
<script>
function newin(url)
{
window.open(url,"","height=450,width=600,scrollbars=yes")
}
function newin_down(url)
{
window.open(url,"","height=200,width=400,scrollbars=yes")
}
</script>
</head>
<body background="img/ngbg.gif" topmargin="0">
<table width="760" border="1" align="center" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
<tr>
<td align="center"><%@ include file="/inc/banner.inc"%></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
<tr valign=top>
<td height="104">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width=160>
<%@ include file="/inc/left.inc"%>
</td>
</tr>
<tr>
<td bordercolor="#6600CC" bordercolordark="#0000FF">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#FF0000">
<tr>
<td align="center">
<TABLE width="145" border="0" cellpadding="0">
<TR>
<TD align=center><A HREF="/headmail/headmail.jsp"><IMG SRC="img/index/jz.gif" WIDTH="141" HEIGHT="23" BORDER="0" ALT="局长信箱"></A></TD>
</TR>
<TR>
<TD align=center><A HREF="/sms/mail.jsp"><IMG SRC="img/index/sms.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="站内短信"></A></TD>
</TR>
<TR>
<TD align=center><A HREF="/bddown/bddown.jsp?lm_msid=0"><IMG SRC="img/index/bdan.gif" WIDTH="138" HEIGHT="23" BORDER="0" ALT="表单下载"></A></TD>
</TR>
<TR>
<TD align=center><A HREF="/phone/phone.jsp"><IMG SRC="img/index/tx.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="通讯号簿"></A></TD>
</TR>
<TR>
<TD align=center><A HREF="userlist.jsp"><IMG SRC="img/index/zx.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="在线状态"></A></TD>
</TR>
<TR>
<script>
function vir() {window.open("/vir.jsp","tv","toolbar=no,width=300,height=300,resizable=yes,top=150,left=200,status=no,menubar=no,scrollbars=no,resizable=no");}
function building() {window.open("/building.jsp","t23v","toolbar=no,width=300,height=250,resizable=yes,top=150,left=200,status=no,menubar=no,scrollbars=no,resizable=no");}
</script>
<TD align=center><A HREF="article.jsp?lm_id=208"><IMG SRC="img/index/bd.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="病毒预警"></A></TD>
</TR>
<TR>
<TD align=center><A HREF="cfd/qdcx.jsp?action=mtx"><IMG SRC="img/index/qd.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="网上签到"></A></TD>
</TR>
<TR>
<TD align=center> <!--<A HREF="/ljy/zdjz/zdjz.jsp"> -->
<A HREF="/zzjz/zzjza/login.htm" target=_blank> <IMG SRC="img/index/zz.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="自助建站"></A></TD>
</TR>
<TR>
<TD align=center><!-- <A HREF="/ljy/zdjz/zdjz.jsp"> -->
<A HREF="/fjjb/fjjb.jsp?lm_msid=0"><IMG SRC="img/index/jb.jpg" WIDTH="140" HEIGHT="23" BORDER="0" ALT="*简报"></A></TD>
</TR>
<tr>
<% DBConnect dbczhkp = new DBConnect();
// 根据“所属区域id“查询 内容:注意?的使用
dbczhkp.prepareStatement("SELECT * FROM T_LM WHERE LM_TYPE=? ");
dbczhkp.setInt(1,13);
ResultSet rszhkp = dbczhkp.executeQuery();
if (rszhkp.next())
{
%>
<TD align=center><A href="/zhkp/zhkp.jsp"><IMG SRC="img/index/zh.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="综合考评"></A></TD>
<%
}
dbczhkp.close();
%></td>
</tr>
<tr>
<td align=center>
<%
DBConnect cjljdbc = new DBConnect();
// 根据“所属区域id“查询 内容:注意?的使用
cjljdbc.prepareStatement("SELECT * FROM T_LM WHERE LM_MSID=? group by LM_NAME");
cjljdbc.setInt(1,3);
ResultSet cjljrs = cjljdbc.executeQuery();
if (cjljrs.next())
{
%>
<a href="/ljy/yqlj/link.jsp?id=<%=cjljrs.getInt("LM_ID")%>"><IMG SRC="img/index/xg.jpg" WIDTH="139" HEIGHT="23" BORDER="0" ALT="相关链接"><%//=cjljrs.getString("LM_NAME")%></a><br>
<%
}
cjljdbc.close();
%>
</td>
</tr>
<!-- <tr>
<td><%@ include file="/cjlj.jsp"%></td>
</tr>
--> <tr>
<td align="center" class="menu"><IMG SRC="img/index/login.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="会员入口"></td>
</tr>
<tr>
<td> <%@ include file="/inc/login.inc"%> </td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#99FF33">
<tr>
<td align="center"><%@ include file="/soso/soso.htm"%></td>
</tr>
</table></td>
</tr>
<TR>
<TD>
<!-- 计数器 -->
<CENTER><%@include file="/inc/ngcounter.inc"%>您是第<%//=count%> </CENTER>
<table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align=center>
<table width="140" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="5"><img src="/img/index/jsq1-1.gif" width="5" height="5"></td>
<td width="125"><img src="/img/index/jsq1-2.gif" width="129" height="5"></td>
<td width="10"><img src="/img/index/jsq1-3.gif" width="7" height="5"></td>
#7
</tr>
<tr>
<td><img src="/img/index/jsq2-1.gif" width="5" height="23"></td>
<td>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(0)%>.gif"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(1)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(2)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(3)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(4)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(5)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(6)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(7)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(8)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(9)%>.gif"></td>
</tr></table>
</td>
<td><img src="/img/index/jsq2-3.gif" width="7" height="23"></td>
</tr>
<tr>
<td><img src="/img/index/jsq3-1.gif" width="5" height="6"></td>
<td><img src="/img/index/jsq3-2.gif" width="129" height="6"></td>
<td><img src="/img/index/jsq3-3.gif" width="7" height="6"></td>
</tr>
</table>
</td>
</tr>
<tr><td align=center>访问者</td></tr>
</table>
<!-- 计数器 -->
</TD>
</TR>
</table></td>
<td width="60%" align=center>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="/swflash.cab#version=5,0,0,0" width="454" height="72">
<param name="movie" value="/img/banner/banner1.swf">
<param name="quality" value="high">
<embed src="/img/banner/banner1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="454" height="72"></embed>
</object>
<!-- image<IMG SRC="img/ng22-3.gif" WIDTH="450" BORDER="0" ALT="图片"> -->
<!-- marque left -->
<%@ include file="inc/marquee_left.inc"%>
<!-- center -->
<%@ include file="inc/centernews.inc"%>
</td>
<td width="100%" valign="top">
<%@ include file="inc/marquee_up.inc"%>
<%@ include file="inc/zxgz.inc"%>
<%@ include file="/ljy/yqlj/yqlj.jsp"%>
<%@ include file="inc/zyol.inc"%>
</td>
</tr>
</table>
</td>
</tr>
<tr><td>
<TABLE width="100%" align=center cellpadding=0 cellspacing=0 border=0>
<TR>
<TD align=center background="/img/footbg.jpg"><FONT COLOR="#ffffff" size="2pt">版权所有:哈尔滨市南岗**综合信息网</FONT></TD>
</TR>
</TABLE>
</td></tr>
</table>
<%@ include file="/ljy/common/zdtcck.jsp"%>
</body>
<%
DBConnect test_dbc = new DBConnect();
test_dbc.close();
System.out.println("============================Actived Links:"+test_dbc.getChecked("mysql"));
%>
</html>
<tr>
<td><img src="/img/index/jsq2-1.gif" width="5" height="23"></td>
<td>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(0)%>.gif"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(1)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(2)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(3)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(4)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(5)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(6)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(7)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(8)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(9)%>.gif"></td>
</tr></table>
</td>
<td><img src="/img/index/jsq2-3.gif" width="7" height="23"></td>
</tr>
<tr>
<td><img src="/img/index/jsq3-1.gif" width="5" height="6"></td>
<td><img src="/img/index/jsq3-2.gif" width="129" height="6"></td>
<td><img src="/img/index/jsq3-3.gif" width="7" height="6"></td>
</tr>
</table>
</td>
</tr>
<tr><td align=center>访问者</td></tr>
</table>
<!-- 计数器 -->
</TD>
</TR>
</table></td>
<td width="60%" align=center>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="/swflash.cab#version=5,0,0,0" width="454" height="72">
<param name="movie" value="/img/banner/banner1.swf">
<param name="quality" value="high">
<embed src="/img/banner/banner1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="454" height="72"></embed>
</object>
<!-- image<IMG SRC="img/ng22-3.gif" WIDTH="450" BORDER="0" ALT="图片"> -->
<!-- marque left -->
<%@ include file="inc/marquee_left.inc"%>
<!-- center -->
<%@ include file="inc/centernews.inc"%>
</td>
<td width="100%" valign="top">
<%@ include file="inc/marquee_up.inc"%>
<%@ include file="inc/zxgz.inc"%>
<%@ include file="/ljy/yqlj/yqlj.jsp"%>
<%@ include file="inc/zyol.inc"%>
</td>
</tr>
</table>
</td>
</tr>
<tr><td>
<TABLE width="100%" align=center cellpadding=0 cellspacing=0 border=0>
<TR>
<TD align=center background="/img/footbg.jpg"><FONT COLOR="#ffffff" size="2pt">版权所有:哈尔滨市南岗**综合信息网</FONT></TD>
</TR>
</TABLE>
</td></tr>
</table>
<%@ include file="/ljy/common/zdtcck.jsp"%>
</body>
<%
DBConnect test_dbc = new DBConnect();
test_dbc.close();
System.out.println("============================Actived Links:"+test_dbc.getChecked("mysql"));
%>
</html>
#8
一般是页面代码有问题,太多了怎么看啊?
#9
应该是某个include的file里面的代码有问题,你直接运行include的file试试看。include file里有错误的话tomcat的表现就是停在那里,也没有出错信息。
#10
decodekey(decodekey)
那tomcat会显示写信息吗?
什么"数据库 连接open" "数据库 连接close"
会是这样吗?
那tomcat会显示写信息吗?
什么"数据库 连接open" "数据库 连接close"
会是这样吗?
#11
可能是你页面本身有问题,浏览器不能显示。有可能是html标签不完整所造成的。检查一下格式先。
#12
tomcat好像不会显示什么"数据库 连接open" "数据库 连接close",log file里面有没有不知道。
建议你先试试看把那些include语句先//注释掉再运行看看。我猜是include页面里有问题。
建议你先试试看把那些include语句先//注释掉再运行看看。我猜是include页面里有问题。
#13
网页有问题
检查一下吧
检查一下吧
#14
org.apache.jasper.compiler.CompileException: /index.jsp(204,12) /inc/centernews.inc(0,0) File "inc/incdb.jsp" not found
#15
为什么会报这个错呢?
org.apache.jasper.compiler.CompileException: /index.jsp(204,12) /inc/centernews.inc(0,0) File "inc/incdb.jsp" not found
org.apache.jasper.compiler.CompileException: /index.jsp(204,12) /inc/centernews.inc(0,0) File "inc/incdb.jsp" not found
#16
你的页面的问题 和数据没关系,仔细看看你的页面吧
#1
啥意思
#2
主页 很多栏目显示不出来
好像数据没传完?
好像数据没传完?
#3
用dreamweaver看看能不能出来
如果不行
那就是你的代码问题
如果不行
那就是你的代码问题
#4
你的是什么版本的呀,这个还没遇见过。顺便把你的配置说明一下
#5
不能在dm里显示
我的index.jsp实显示不出来的
只是一些小框挤在一起
我可以重作表单,但会不会是连库的代码 类什么的问题呢?
我的index.jsp实显示不出来的
只是一些小框挤在一起
我可以重作表单,但会不会是连库的代码 类什么的问题呢?
#6
这是代码
我还能拽出一些显示的
但不全
现在网站正在运行
但我不敢停
我怕一装上 就显不主页了
现在网站正常运行 考回代码一装起来 就主页显示不完全 其它功能正常!
谢谢各位了!<%@ include file="inc/incdb.jsp"%>
<%@ page contentType="text/html;charset=gbk" %>
<LINK href="/css/css.css" rel=stylesheet type=text/css>
<html>
<head>
<title>南岗**主页</title>
<script>
function newin(url)
{
window.open(url,"","height=450,width=600,scrollbars=yes")
}
function newin_down(url)
{
window.open(url,"","height=200,width=400,scrollbars=yes")
}
</script>
</head>
<body background="img/ngbg.gif" topmargin="0">
<table width="760" border="1" align="center" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
<tr>
<td align="center"><%@ include file="/inc/banner.inc"%></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
<tr valign=top>
<td height="104">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width=160>
<%@ include file="/inc/left.inc"%>
</td>
</tr>
<tr>
<td bordercolor="#6600CC" bordercolordark="#0000FF">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#FF0000">
<tr>
<td align="center">
<TABLE width="145" border="0" cellpadding="0">
<TR>
<TD align=center><A HREF="/headmail/headmail.jsp"><IMG SRC="img/index/jz.gif" WIDTH="141" HEIGHT="23" BORDER="0" ALT="局长信箱"></A></TD>
</TR>
<TR>
<TD align=center><A HREF="/sms/mail.jsp"><IMG SRC="img/index/sms.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="站内短信"></A></TD>
</TR>
<TR>
<TD align=center><A HREF="/bddown/bddown.jsp?lm_msid=0"><IMG SRC="img/index/bdan.gif" WIDTH="138" HEIGHT="23" BORDER="0" ALT="表单下载"></A></TD>
</TR>
<TR>
<TD align=center><A HREF="/phone/phone.jsp"><IMG SRC="img/index/tx.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="通讯号簿"></A></TD>
</TR>
<TR>
<TD align=center><A HREF="userlist.jsp"><IMG SRC="img/index/zx.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="在线状态"></A></TD>
</TR>
<TR>
<script>
function vir() {window.open("/vir.jsp","tv","toolbar=no,width=300,height=300,resizable=yes,top=150,left=200,status=no,menubar=no,scrollbars=no,resizable=no");}
function building() {window.open("/building.jsp","t23v","toolbar=no,width=300,height=250,resizable=yes,top=150,left=200,status=no,menubar=no,scrollbars=no,resizable=no");}
</script>
<TD align=center><A HREF="article.jsp?lm_id=208"><IMG SRC="img/index/bd.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="病毒预警"></A></TD>
</TR>
<TR>
<TD align=center><A HREF="cfd/qdcx.jsp?action=mtx"><IMG SRC="img/index/qd.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="网上签到"></A></TD>
</TR>
<TR>
<TD align=center> <!--<A HREF="/ljy/zdjz/zdjz.jsp"> -->
<A HREF="/zzjz/zzjza/login.htm" target=_blank> <IMG SRC="img/index/zz.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="自助建站"></A></TD>
</TR>
<TR>
<TD align=center><!-- <A HREF="/ljy/zdjz/zdjz.jsp"> -->
<A HREF="/fjjb/fjjb.jsp?lm_msid=0"><IMG SRC="img/index/jb.jpg" WIDTH="140" HEIGHT="23" BORDER="0" ALT="*简报"></A></TD>
</TR>
<tr>
<% DBConnect dbczhkp = new DBConnect();
// 根据“所属区域id“查询 内容:注意?的使用
dbczhkp.prepareStatement("SELECT * FROM T_LM WHERE LM_TYPE=? ");
dbczhkp.setInt(1,13);
ResultSet rszhkp = dbczhkp.executeQuery();
if (rszhkp.next())
{
%>
<TD align=center><A href="/zhkp/zhkp.jsp"><IMG SRC="img/index/zh.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="综合考评"></A></TD>
<%
}
dbczhkp.close();
%></td>
</tr>
<tr>
<td align=center>
<%
DBConnect cjljdbc = new DBConnect();
// 根据“所属区域id“查询 内容:注意?的使用
cjljdbc.prepareStatement("SELECT * FROM T_LM WHERE LM_MSID=? group by LM_NAME");
cjljdbc.setInt(1,3);
ResultSet cjljrs = cjljdbc.executeQuery();
if (cjljrs.next())
{
%>
<a href="/ljy/yqlj/link.jsp?id=<%=cjljrs.getInt("LM_ID")%>"><IMG SRC="img/index/xg.jpg" WIDTH="139" HEIGHT="23" BORDER="0" ALT="相关链接"><%//=cjljrs.getString("LM_NAME")%></a><br>
<%
}
cjljdbc.close();
%>
</td>
</tr>
<!-- <tr>
<td><%@ include file="/cjlj.jsp"%></td>
</tr>
--> <tr>
<td align="center" class="menu"><IMG SRC="img/index/login.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="会员入口"></td>
</tr>
<tr>
<td> <%@ include file="/inc/login.inc"%> </td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#99FF33">
<tr>
<td align="center"><%@ include file="/soso/soso.htm"%></td>
</tr>
</table></td>
</tr>
<TR>
<TD>
<!-- 计数器 -->
<CENTER><%@include file="/inc/ngcounter.inc"%>您是第<%//=count%> </CENTER>
<table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align=center>
<table width="140" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="5"><img src="/img/index/jsq1-1.gif" width="5" height="5"></td>
<td width="125"><img src="/img/index/jsq1-2.gif" width="129" height="5"></td>
<td width="10"><img src="/img/index/jsq1-3.gif" width="7" height="5"></td>
我还能拽出一些显示的
但不全
现在网站正在运行
但我不敢停
我怕一装上 就显不主页了
现在网站正常运行 考回代码一装起来 就主页显示不完全 其它功能正常!
谢谢各位了!<%@ include file="inc/incdb.jsp"%>
<%@ page contentType="text/html;charset=gbk" %>
<LINK href="/css/css.css" rel=stylesheet type=text/css>
<html>
<head>
<title>南岗**主页</title>
<script>
function newin(url)
{
window.open(url,"","height=450,width=600,scrollbars=yes")
}
function newin_down(url)
{
window.open(url,"","height=200,width=400,scrollbars=yes")
}
</script>
</head>
<body background="img/ngbg.gif" topmargin="0">
<table width="760" border="1" align="center" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
<tr>
<td align="center"><%@ include file="/inc/banner.inc"%></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
<tr valign=top>
<td height="104">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width=160>
<%@ include file="/inc/left.inc"%>
</td>
</tr>
<tr>
<td bordercolor="#6600CC" bordercolordark="#0000FF">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#FF0000">
<tr>
<td align="center">
<TABLE width="145" border="0" cellpadding="0">
<TR>
<TD align=center><A HREF="/headmail/headmail.jsp"><IMG SRC="img/index/jz.gif" WIDTH="141" HEIGHT="23" BORDER="0" ALT="局长信箱"></A></TD>
</TR>
<TR>
<TD align=center><A HREF="/sms/mail.jsp"><IMG SRC="img/index/sms.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="站内短信"></A></TD>
</TR>
<TR>
<TD align=center><A HREF="/bddown/bddown.jsp?lm_msid=0"><IMG SRC="img/index/bdan.gif" WIDTH="138" HEIGHT="23" BORDER="0" ALT="表单下载"></A></TD>
</TR>
<TR>
<TD align=center><A HREF="/phone/phone.jsp"><IMG SRC="img/index/tx.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="通讯号簿"></A></TD>
</TR>
<TR>
<TD align=center><A HREF="userlist.jsp"><IMG SRC="img/index/zx.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="在线状态"></A></TD>
</TR>
<TR>
<script>
function vir() {window.open("/vir.jsp","tv","toolbar=no,width=300,height=300,resizable=yes,top=150,left=200,status=no,menubar=no,scrollbars=no,resizable=no");}
function building() {window.open("/building.jsp","t23v","toolbar=no,width=300,height=250,resizable=yes,top=150,left=200,status=no,menubar=no,scrollbars=no,resizable=no");}
</script>
<TD align=center><A HREF="article.jsp?lm_id=208"><IMG SRC="img/index/bd.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="病毒预警"></A></TD>
</TR>
<TR>
<TD align=center><A HREF="cfd/qdcx.jsp?action=mtx"><IMG SRC="img/index/qd.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="网上签到"></A></TD>
</TR>
<TR>
<TD align=center> <!--<A HREF="/ljy/zdjz/zdjz.jsp"> -->
<A HREF="/zzjz/zzjza/login.htm" target=_blank> <IMG SRC="img/index/zz.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="自助建站"></A></TD>
</TR>
<TR>
<TD align=center><!-- <A HREF="/ljy/zdjz/zdjz.jsp"> -->
<A HREF="/fjjb/fjjb.jsp?lm_msid=0"><IMG SRC="img/index/jb.jpg" WIDTH="140" HEIGHT="23" BORDER="0" ALT="*简报"></A></TD>
</TR>
<tr>
<% DBConnect dbczhkp = new DBConnect();
// 根据“所属区域id“查询 内容:注意?的使用
dbczhkp.prepareStatement("SELECT * FROM T_LM WHERE LM_TYPE=? ");
dbczhkp.setInt(1,13);
ResultSet rszhkp = dbczhkp.executeQuery();
if (rszhkp.next())
{
%>
<TD align=center><A href="/zhkp/zhkp.jsp"><IMG SRC="img/index/zh.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="综合考评"></A></TD>
<%
}
dbczhkp.close();
%></td>
</tr>
<tr>
<td align=center>
<%
DBConnect cjljdbc = new DBConnect();
// 根据“所属区域id“查询 内容:注意?的使用
cjljdbc.prepareStatement("SELECT * FROM T_LM WHERE LM_MSID=? group by LM_NAME");
cjljdbc.setInt(1,3);
ResultSet cjljrs = cjljdbc.executeQuery();
if (cjljrs.next())
{
%>
<a href="/ljy/yqlj/link.jsp?id=<%=cjljrs.getInt("LM_ID")%>"><IMG SRC="img/index/xg.jpg" WIDTH="139" HEIGHT="23" BORDER="0" ALT="相关链接"><%//=cjljrs.getString("LM_NAME")%></a><br>
<%
}
cjljdbc.close();
%>
</td>
</tr>
<!-- <tr>
<td><%@ include file="/cjlj.jsp"%></td>
</tr>
--> <tr>
<td align="center" class="menu"><IMG SRC="img/index/login.gif" WIDTH="140" HEIGHT="23" BORDER="0" ALT="会员入口"></td>
</tr>
<tr>
<td> <%@ include file="/inc/login.inc"%> </td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#99FF33">
<tr>
<td align="center"><%@ include file="/soso/soso.htm"%></td>
</tr>
</table></td>
</tr>
<TR>
<TD>
<!-- 计数器 -->
<CENTER><%@include file="/inc/ngcounter.inc"%>您是第<%//=count%> </CENTER>
<table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align=center>
<table width="140" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="5"><img src="/img/index/jsq1-1.gif" width="5" height="5"></td>
<td width="125"><img src="/img/index/jsq1-2.gif" width="129" height="5"></td>
<td width="10"><img src="/img/index/jsq1-3.gif" width="7" height="5"></td>
#7
</tr>
<tr>
<td><img src="/img/index/jsq2-1.gif" width="5" height="23"></td>
<td>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(0)%>.gif"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(1)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(2)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(3)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(4)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(5)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(6)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(7)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(8)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(9)%>.gif"></td>
</tr></table>
</td>
<td><img src="/img/index/jsq2-3.gif" width="7" height="23"></td>
</tr>
<tr>
<td><img src="/img/index/jsq3-1.gif" width="5" height="6"></td>
<td><img src="/img/index/jsq3-2.gif" width="129" height="6"></td>
<td><img src="/img/index/jsq3-3.gif" width="7" height="6"></td>
</tr>
</table>
</td>
</tr>
<tr><td align=center>访问者</td></tr>
</table>
<!-- 计数器 -->
</TD>
</TR>
</table></td>
<td width="60%" align=center>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="/swflash.cab#version=5,0,0,0" width="454" height="72">
<param name="movie" value="/img/banner/banner1.swf">
<param name="quality" value="high">
<embed src="/img/banner/banner1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="454" height="72"></embed>
</object>
<!-- image<IMG SRC="img/ng22-3.gif" WIDTH="450" BORDER="0" ALT="图片"> -->
<!-- marque left -->
<%@ include file="inc/marquee_left.inc"%>
<!-- center -->
<%@ include file="inc/centernews.inc"%>
</td>
<td width="100%" valign="top">
<%@ include file="inc/marquee_up.inc"%>
<%@ include file="inc/zxgz.inc"%>
<%@ include file="/ljy/yqlj/yqlj.jsp"%>
<%@ include file="inc/zyol.inc"%>
</td>
</tr>
</table>
</td>
</tr>
<tr><td>
<TABLE width="100%" align=center cellpadding=0 cellspacing=0 border=0>
<TR>
<TD align=center background="/img/footbg.jpg"><FONT COLOR="#ffffff" size="2pt">版权所有:哈尔滨市南岗**综合信息网</FONT></TD>
</TR>
</TABLE>
</td></tr>
</table>
<%@ include file="/ljy/common/zdtcck.jsp"%>
</body>
<%
DBConnect test_dbc = new DBConnect();
test_dbc.close();
System.out.println("============================Actived Links:"+test_dbc.getChecked("mysql"));
%>
</html>
<tr>
<td><img src="/img/index/jsq2-1.gif" width="5" height="23"></td>
<td>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(0)%>.gif"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(1)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(2)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(3)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(4)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(5)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(6)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(7)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(8)%>.gif"></td><td><img width="1" height="23" border="0"></td>
<td><img width="12" height="23" border="0" src="/img/index/counter/<%=count.charAt(9)%>.gif"></td>
</tr></table>
</td>
<td><img src="/img/index/jsq2-3.gif" width="7" height="23"></td>
</tr>
<tr>
<td><img src="/img/index/jsq3-1.gif" width="5" height="6"></td>
<td><img src="/img/index/jsq3-2.gif" width="129" height="6"></td>
<td><img src="/img/index/jsq3-3.gif" width="7" height="6"></td>
</tr>
</table>
</td>
</tr>
<tr><td align=center>访问者</td></tr>
</table>
<!-- 计数器 -->
</TD>
</TR>
</table></td>
<td width="60%" align=center>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="/swflash.cab#version=5,0,0,0" width="454" height="72">
<param name="movie" value="/img/banner/banner1.swf">
<param name="quality" value="high">
<embed src="/img/banner/banner1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="454" height="72"></embed>
</object>
<!-- image<IMG SRC="img/ng22-3.gif" WIDTH="450" BORDER="0" ALT="图片"> -->
<!-- marque left -->
<%@ include file="inc/marquee_left.inc"%>
<!-- center -->
<%@ include file="inc/centernews.inc"%>
</td>
<td width="100%" valign="top">
<%@ include file="inc/marquee_up.inc"%>
<%@ include file="inc/zxgz.inc"%>
<%@ include file="/ljy/yqlj/yqlj.jsp"%>
<%@ include file="inc/zyol.inc"%>
</td>
</tr>
</table>
</td>
</tr>
<tr><td>
<TABLE width="100%" align=center cellpadding=0 cellspacing=0 border=0>
<TR>
<TD align=center background="/img/footbg.jpg"><FONT COLOR="#ffffff" size="2pt">版权所有:哈尔滨市南岗**综合信息网</FONT></TD>
</TR>
</TABLE>
</td></tr>
</table>
<%@ include file="/ljy/common/zdtcck.jsp"%>
</body>
<%
DBConnect test_dbc = new DBConnect();
test_dbc.close();
System.out.println("============================Actived Links:"+test_dbc.getChecked("mysql"));
%>
</html>
#8
一般是页面代码有问题,太多了怎么看啊?
#9
应该是某个include的file里面的代码有问题,你直接运行include的file试试看。include file里有错误的话tomcat的表现就是停在那里,也没有出错信息。
#10
decodekey(decodekey)
那tomcat会显示写信息吗?
什么"数据库 连接open" "数据库 连接close"
会是这样吗?
那tomcat会显示写信息吗?
什么"数据库 连接open" "数据库 连接close"
会是这样吗?
#11
可能是你页面本身有问题,浏览器不能显示。有可能是html标签不完整所造成的。检查一下格式先。
#12
tomcat好像不会显示什么"数据库 连接open" "数据库 连接close",log file里面有没有不知道。
建议你先试试看把那些include语句先//注释掉再运行看看。我猜是include页面里有问题。
建议你先试试看把那些include语句先//注释掉再运行看看。我猜是include页面里有问题。
#13
网页有问题
检查一下吧
检查一下吧
#14
org.apache.jasper.compiler.CompileException: /index.jsp(204,12) /inc/centernews.inc(0,0) File "inc/incdb.jsp" not found
#15
为什么会报这个错呢?
org.apache.jasper.compiler.CompileException: /index.jsp(204,12) /inc/centernews.inc(0,0) File "inc/incdb.jsp" not found
org.apache.jasper.compiler.CompileException: /index.jsp(204,12) /inc/centernews.inc(0,0) File "inc/incdb.jsp" not found
#16
你的页面的问题 和数据没关系,仔细看看你的页面吧