删除一些内容

wlk_branch^2
IE-WEB 8 months ago
parent 9bb361e2b1
commit 924e1b297c

@ -10,7 +10,7 @@ String path = request.getContextPath();
%> %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <!-- 1.插入时间格式的包.2.插入处理时间的包。34.使用JSTLJSP标准标签库5.使得EL不当成字符串处理--> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<meta http-equiv="pragma" content="no-cache" /> <meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" /> <meta http-equiv="cache-control" content="no-cache" />
@ -21,7 +21,7 @@ String path = request.getContextPath();
<link rel="stylesheet" type="text/css" href="<%=path %>/css/base.css" /> <link rel="stylesheet" type="text/css" href="<%=path %>/css/base.css" />
<script language="javascript"> <script language="javascript">
function c() //如果评价内容为空,提示请输入评论内容 function c()
{ {
if(document.formAdd.neirong.value=="") if(document.formAdd.neirong.value=="")
{ {
@ -29,13 +29,13 @@ String path = request.getContextPath();
return false; return false;
} }
document.formAdd.submit(); //如果不为空则提交信息 document.formAdd.submit();
} }
</script> </script>
</head> </head>
<body leftmargin="2" topmargin="9" background='<%=path %>/img/allbg.gif'> <!-- 距离左边为2距离上面为9背景图片为。。 --> <body leftmargin="2" topmargin="9" background='<%=path %>/img/allbg.gif'>
<form action="<%=path %>/xinyong?type=xinyongAdd" name="formAdd" method="post"> <!--表单的方法为提交 --> <form action="<%=path %>/xinyong?type=xinyongAdd" name="formAdd" method="post">
<table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D1DDAA" align="center" style="margin-top:8px"> <table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D1DDAA" align="center" style="margin-top:8px">
<tr bgcolor="#E7E7E7"> <tr bgcolor="#E7E7E7">
<td height="14" colspan="4" background="<%=path %>/img/tbg.gif">&nbsp;&nbsp;</td> <td height="14" colspan="4" background="<%=path %>/img/tbg.gif">&nbsp;&nbsp;</td>
@ -64,7 +64,7 @@ String path = request.getContextPath();
</td> </td>
<td width="90%" bgcolor="#FFFFFF" align="left"> <td width="90%" bgcolor="#FFFFFF" align="left">
<input type="text" name="shijian" size="40" value="<%=new SimpleDateFormat("yyyy-MM-dd HH:mm").format(new Date())%>"/> <input type="text" name="shijian" size="40" value="<%=new SimpleDateFormat("yyyy-MM-dd HH:mm").format(new Date())%>"/>
<!-- 取得系统当前时间格式为yyyy年-MM月-dd号 HH点mm分 -->
</td> </td>
</tr> </tr>
<tr align='center' bgcolor="#FFFFFF" height="22"> <tr align='center' bgcolor="#FFFFFF" height="22">
@ -72,8 +72,7 @@ String path = request.getContextPath();
&nbsp; &nbsp;
</td> </td>
<td width="90%" bgcolor="#FFFFFF" align="left"> <td width="90%" bgcolor="#FFFFFF" align="left">
<input type="hidden" name="user_id" value="<%=request.getParameter("user_id") %>"/> <!-- 插入隐藏域获得用户的id --> <input type="hidden" name="user_id" value="<%=request.getParameter("user_id") %>"/>
<input type="button" value="提交" onclick="c()"/>&nbsp;
<input type="reset" value="重置"/>&nbsp; <input type="reset" value="重置"/>&nbsp;
</td> </td>
</tr> </tr>

Loading…
Cancel
Save