| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 856 人关注过本帖
标题:为什么这个页面死活打不开呀
只看楼主 加入收藏
Grace_TT
Rank: 1
等 级:新手上路
威 望:1
帖 子:324
专家分:0
注 册:2005-12-21
收藏
 问题点数:0 回复次数:8 
为什么这个页面死活打不开呀

大家帮忙看看究竟是哪里的问题,谢谢了!!:
<%@ page language="java" import="java.sql.*" %>
<HTML>
<HEAD>
<TITLE></TITLE></HEAD><BODY bgColor=#ffffff leftMargin=0 topMargin=5 marginheight="5" marginwidth="5">
<table align="center" border="0" width="760" height="18" bgcolor="#3399FF" cellspacing="0">
<tr>
<td width="100%">
<p><a href="list_all_user.jsp">????</a> |
<a href="../book_store/index.jsp">????</a> |
<a href="../search/index.jsp">????</a> |
<a href="../book_store/all_category.jsp">????</a> |
<a href="../book_store/new_goods.jsp">????</a> |
<a href="../book_store/good_price.jsp">????</a> |
<a href="../book_store/short_goods.jsp">????</a> |
<a href="../book_store/shopcart.jsp" target="_blank">???</a> |
<a href="../book_store/order.jsp" target="_blank">??</a> |
<a href="forum/index.jsp" target="_blank">??</a> |
<a href="chat/index.jsp" target="_blank">???</a></td>
</tr>
</table>
<jsp:useBean id="clock" scope="page" class="hh.JspCalendar" type="hh.JspCalendar" /> <jsp:useBean id="workM" scope="page" class="hh.faq" />
<TABLE border=0 cellPadding=0 cellSpacing=0 width=760 align="center">
<TBODY>
<tr><td align="left" height=25><%if(session.getAttribute("username")!=null){out.println(session.getAttribute("username"));}%> ?????<a href="../index.jsp">??</a> -&gt; ???? </td>
<td align="right"> <td align="right">
<font color="Red"><jsp:getProperty name="clock" property="year"/></font>?
<font color="Red"><jsp:getProperty name="clock" property="month"/></font>?
<font color="Red"><jsp:getProperty name="clock" property="dayOfMonth"/></font>?
??<font color="Blue"><b><jsp:getProperty name="clock" property="day"/></b></font>&nbsp;&nbsp;
</td>
<td>????? <jsp:getProperty name="clock" property="time"/>
</td>
</tr>
<TR bgColor=#3399ff>
<TD height=1 colspan="2"><IMG height=1 src="images/spacer.gif"
width=16></TD></TR>
<tr><td height=10 colspan="2"><IMG height=1 src="images/spacer.gif"
width=16></td></tr>
</TBODY></TABLE>
<table align="center" border="0" width="760" cellspacing="0" cellpadding="0" height="355">
<tr>
<td width="150" height="355" valign="top">
<table border="1" width="100%" bordercolorlight="#3399FF" bordercolordark="#3399FF" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" valign="top" style="border: 1 solid #3399FF">
<table border="0" width="100%" cellspacing="0">
<tr>
<td width="100%" bgcolor="#3399FF" height="18" align="center"><font color="#ffffff">????</font></td>
</tr>
<tr>
<td width="100%" height="23" align="center"><a href="login.jsp"><b>????</b></a> <a href="reg.jsp"><b>????</b></a></td>
</tr>
<td height="18"></td><tr>
<td width="100%" bgcolor="#3399FF" height="18" align="center"><font color="#ffffff">????</font></td>
</tr>
<tr>
<td width="100%">
<table border="0" width="98%" align="center" cellspacing="0">
<tr>
<td align="right" height="20" width="60%">?????</td>
<% int t_member;
t_member=0;

String strSQLmem="SELECT id FROM member";
ResultSet RSmem = workM.executeQuery(strSQLmem);
while(RSmem.next()){
t_member=t_member+1;
}
%>
<td align="left" width="40%"><%=t_member%></td>
</tr>
</table>
</td>
</tr>
</table> </td>
</tr>
</table>
</td>
<td width="10" height="100%"></td>
<td width="1" height="100%" bgcolor="#3399ff"></td>
<td width="10" height="100%"></td>
<td width="589" height="331" valign="top" background="images/bg1.gif">
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="307">
<tr align=center>
<td width="100%" colspan="4" height="20" bgcolor="#3399ff">&nbsp;<font color="#ffffff">????????????????????</font>
</td>
</tr>

<tr>
<td width="100%" align="center" colspan="4" height="36"> ???????? </td>
</tr>
<form name="form1" method="post" action="reg_ok.jsp">
<tr>
<td align="right" ><b>?????</b></td>
<td >&nbsp;</td>
<td colspan="2" >
<input type="text" name="logname" value="wangxining">
</td>
</tr>
<tr>
<td align="right"><b>?????</b></td>
<td>&nbsp;</td>
<td colspan="2">
<input type="text" name="realname" value="wangwang">
</td>
</tr>
<tr>
<td align="right"><b>?????</b></td>
<td>&nbsp;</td>
<td colspan="2">
<input type="password" name="passwd1" value="blueriver">
</td>
</tr>
<tr>
<td align="right"><b>?????</b></td>
<td>&nbsp;</td>
<td colspan="2">
<input type="password" name="passwd2" value="blueriver">
</td>
</tr>
<tr>
<td align="right"><b>?????</b></td>
<td>&nbsp;</td>
<td colspan="2">
<input type="text" name="email" value="wangxining@263.net">
</td>
</tr>
<tr>
<td align="right"><b>?&nbsp;&nbsp;&nbsp;&nbsp;??</b></td>
<td>&nbsp;</td>
<td colspan="2">
<input type="radio" name="Gender" value="0" checked>
?
<input type="radio" name="Gender" value="1">
? </td>
</tr>
<tr>
<td align="right">?????</td>
<td>&nbsp;</td>
<td colspan="2">
<input type="text" name="phone" value="">
</td>
</tr>
<tr>
<td align="right">???????</td>
<td>&nbsp;</td>
<td colspan="2">
<input type="text" name="problem" value="">
</td>
</tr>
<tr>
<td align="right">?????</td>
<td>&nbsp;</td>
<td colspan="2">
<input type="text" name="answer" value="">
</td>
</tr>
<tr>
<td align="right">???</td>
<td>&nbsp;</td>
<td colspan="2">
<select name="Province" size="1">
<option value="null" >???</option>
<option value="Beijing" >??</option>
<option value="Tianjin" >??</option>
<option value="Shanghai" >??</option>
<option value="Chongqing" >??</option>
<option value="Hebei" >??</option>
<option value="Henan" >??</option>
<option value="Heilongjiang">???</option>
<option value="Jinlin" >??</option>
<option value="Shenyang" >??</option>
<option value="Neimenggu" >???</option>
<option value="Hainan" >??</option>
<option value="Shanxi" >??</option>
<option value="Shanxi3" >??</option>
<option value="Shandong" >??</option>
<option value="Jiangsu" >??</option>
<option value="Zhejiang" >??</option>
<option value="Anhui" >??</option>
<option value="Jiangxi" >??</option>
<option value="Fujian" >??</option>
<option value="Gansu" >??</option>
<option value="Ningxia" >??</option>
<option value="Qinghai" >??</option>
<option value="Xinjiang" >??</option>
<option value="Hubei" >??</option>
<option value="Hunan" >??</option>
<option value="Guangxi" >??</option>
<option value="Sichuan" >??</option>
<option value="Guizhou" >??</option>
<option value="Yunnan" >??</option>
<option value="Xizang" >??</option>
<option value="Hongkong" >??</option>
<option value="Aomen" >??</option>
<option value="Taiwan" >??</option>
</select>
</td>
</tr>
<tr>
<td align="right">?????</td>
<td>&nbsp;</td>
<td colspan="2">
<select name=education size=1>
<option value="null" selected>?? ...</option>
<option value="Below high school">??????</option>
<option value="high school/5-year college">??/??</option>
<option value="College/University">??/??</option>
<option value="Graduate and above">?????</option>
</select>
</td>
</tr>
<tr>
<td align="right">?????</td>
<td>&nbsp;</td>
<td>
<input type=checkbox name=hobbies value="1@">
?????/???
&nbsp;&nbsp;&nbsp;&nbsp;
<input type=checkbox name=hobbies value="2@">
????? </td>
</tr>
<tr>
<td align="right">&nbsp;</td>
<td>&nbsp;</td>
<td>
<input type=checkbox name=hobbies value="3@">
???????
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type=checkbox name=hobbies value="4@">
???????</td>
</tr>
<tr>
<td align="right">&nbsp;</td>
<td>&nbsp;</td>
<td>
<input type=checkbox name=hobbies value="5,">
??/??/??
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type=checkbox name=hobbies value="6,">
???? </td>
</tr><tr>
<td align="right">&nbsp;</td>
<td>&nbsp;</td>
<td>
<input type=checkbox name=hobbies value="7,">
????
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type=checkbox name=hobbies value="8,">
???? </td>
</tr><tr>
<td align="right">&nbsp;</td>
<td>&nbsp;</td>
<td>
<input type=checkbox name=hobbies value="9,">
????
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type=checkbox name=hobbies value="10,">
???? </td>
</tr>
<tr>
<td align="right" valign="top">?????</td>
<td>&nbsp;</td>
<td colspan="2">
<textarea name="selfintro" cols="40" rows="5">selddddddddd</textarea>
</td>
</tr>
<tr>
<td align="right">&nbsp;</td>
<td>&nbsp;</td>
<td align="left" colspan="2">
<input type="button" value="???" onclick="sub()">
<input type="reset" value="??">
<script language="javascript">
function sub()
{
if(document.form1.logname.value=="")
{
window.alert("?????????");
window.form1.logname.focus();
return false;
}
if(document.form1.realname.value=="")
{
window.alert("????????");
window.form1.realname.focus();
return false;
}
if(document.form1.passwd1.value=="")
{
window.alert("??????");
window.form1.passwd1.focus();
return false;
}
if(document.form1.passwd1.value!=document.form1.passwd2.value)
{
window.alert("??????");
window.form1.passwd2.focus();
return false;
}
if(document.form1.email.value=="")
{
window.alert("?????E_mail?");
window.form1.email.focus();
return false;
}
document.form1.submit();
}
</script>
</td>
</tr>
</form>
</table>
</td>
</tr>
</table><hr align="center" color="#3399ff" width="760" >
<table align="center" border="0" width="760">
<tr>
<td width="100%" height="18" align="center">

<P class="foot">&copy; 2001 ???<a href="mailto:blueriver_cn@sina.com">Blueriver</a>
</P>
<P class="foot">?????JSP?????????
</P>
</td>
</tr>
<tr><td></tr></table>
</body>
</html>

搜索更多相关主题的帖子: 死活 java 页面 href 
2006-06-28 23:06
神vLinux飘飘
Rank: 13Rank: 13Rank: 13Rank: 13
来 自:浙江杭州
等 级:贵宾
威 望:91
帖 子:6140
专家分:217
注 册:2004-7-17
收藏
得分:0 
又不把错误代码貼上来,怎么看啊

淘宝杜琨
2006-06-29 07:26
Grace_TT
Rank: 1
等 级:新手上路
威 望:1
帖 子:324
专家分:0
注 册:2005-12-21
收藏
得分:0 
因为它根本就不出现错误啊,就是页面停在一半就不动了,始终不显示。
2006-06-29 07:36
神vLinux飘飘
Rank: 13Rank: 13Rank: 13Rank: 13
来 自:浙江杭州
等 级:贵宾
威 望:91
帖 子:6140
专家分:217
注 册:2004-7-17
收藏
得分:0 
我说你呀你~~~~那么多的装饰代码,我怎么看得清楚啊 T_T

淘宝杜琨
2006-06-29 07:42
Grace_TT
Rank: 1
等 级:新手上路
威 望:1
帖 子:324
专家分:0
注 册:2005-12-21
收藏
得分:0 
你使劲看那不会!~
2006-06-29 10:11
千里冰封
Rank: 16Rank: 16Rank: 16Rank: 16
来 自:灌水之王
等 级:版主
威 望:155
帖 子:28477
专家分:59
注 册:2006-2-26
收藏
得分:0 
哪有这样发代码的,你把它打包发上来不就得了吗

可惜不是你,陪我到最后
2006-06-29 10:15
Grace_TT
Rank: 1
等 级:新手上路
威 望:1
帖 子:324
专家分:0
注 册:2005-12-21
收藏
得分:0 
怎么打包,我不会。
你是说把它压缩一下吗?
2006-06-29 10:19
神vLinux飘飘
Rank: 13Rank: 13Rank: 13Rank: 13
来 自:浙江杭州
等 级:贵宾
威 望:91
帖 子:6140
专家分:217
注 册:2004-7-17
收藏
得分:0 
把你整个项目发送上来

淘宝杜琨
2006-06-29 10:27
Grace_TT
Rank: 1
等 级:新手上路
威 望:1
帖 子:324
专家分:0
注 册:2005-12-21
收藏
得分:0 

好吧。

TtWIm8VJ.rar (10.09 KB)

[此贴子已经被作者于2006-6-29 10:56:21编辑过]

2006-06-29 10:44
快速回复:为什么这个页面死活打不开呀
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.020314 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved