大家帮忙看看究竟是哪里的问题,谢谢了!!:
<%@ 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> -> ???? </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>
</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"> <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 > </td>
<td colspan="2" >
<input type="text" name="logname" value="wangxining">
</td>
</tr>
<tr>
<td align="right"><b>?????</b></td>
<td> </td>
<td colspan="2">
<input type="text" name="realname" value="wangwang">
</td>
</tr>
<tr>
<td align="right"><b>?????</b></td>
<td> </td>
<td colspan="2">
<input type="password" name="passwd1" value="blueriver">
</td>
</tr>
<tr>
<td align="right"><b>?????</b></td>
<td> </td>
<td colspan="2">
<input type="password" name="passwd2" value="blueriver">
</td>
</tr>
<tr>
<td align="right"><b>?????</b></td>
<td> </td>
<td colspan="2">
<input type="text" name="email" value="wangxining@263.net">
</td>
</tr>
<tr>
<td align="right"><b>? ??</b></td>
<td> </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> </td>
<td colspan="2">
<input type="text" name="phone" value="">
</td>
</tr>
<tr>
<td align="right">???????</td>
<td> </td>
<td colspan="2">
<input type="text" name="problem" value="">
</td>
</tr>
<tr>
<td align="right">?????</td>
<td> </td>
<td colspan="2">
<input type="text" name="answer" value="">
</td>
</tr>
<tr>
<td align="right">???</td>
<td> </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> </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> </td>
<td>
<input type=checkbox name=hobbies value="1@">
?????/???
<input type=checkbox name=hobbies value="2@">
????? </td>
</tr>
<tr>
<td align="right"> </td>
<td> </td>
<td>
<input type=checkbox name=hobbies value="3@">
???????
<input type=checkbox name=hobbies value="4@">
???????</td>
</tr>
<tr>
<td align="right"> </td>
<td> </td>
<td>
<input type=checkbox name=hobbies value="5,">
??/??/??
<input type=checkbox name=hobbies value="6,">
???? </td>
</tr><tr>
<td align="right"> </td>
<td> </td>
<td>
<input type=checkbox name=hobbies value="7,">
????
<input type=checkbox name=hobbies value="8,">
???? </td>
</tr><tr>
<td align="right"> </td>
<td> </td>
<td>
<input type=checkbox name=hobbies value="9,">
????
<input type=checkbox name=hobbies value="10,">
???? </td>
</tr>
<tr>
<td align="right" valign="top">?????</td>
<td> </td>
<td colspan="2">
<textarea name="selfintro" cols="40" rows="5">selddddddddd</textarea>
</td>
</tr>
<tr>
<td align="right"> </td>
<td> </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">© 2001 ???<a href="Bluerivermailto:blueriver_cn@sina.com">Blueriver</a>
</P>
<P class="foot">?????JSP?????????
</P>
</td>
</tr>
<tr><td></tr></table>
</body>
</html>
----------------解决方案--------------------------------------------------------
又不把错误代码傥上来,怎么看啊
----------------解决方案--------------------------------------------------------
因为它根本就不出现错误啊,就是页面停在一半就不动了,始终不显示。
----------------解决方案--------------------------------------------------------
我说你呀你~~~~那么多的装饰代码,我怎么看得清楚啊 T_T
----------------解决方案--------------------------------------------------------
你使劲看那不会!~
----------------解决方案--------------------------------------------------------
哪有这样发代码的,你把它打包发上来不就得了吗
----------------解决方案--------------------------------------------------------
怎么打包,我不会。
你是说把它压缩一下吗?
----------------解决方案--------------------------------------------------------
把你整个项目发送上来
----------------解决方案--------------------------------------------------------
好吧。
[此贴子已经被作者于2006-6-29 10:56:21编辑过]
----------------解决方案--------------------------------------------------------