不要只给我一个函数,我不会调试,都搞了一天了,妈的头都大了!@_@,请看我的网页代码,给我配一个可以直接COPY过来用的给我,我全部分都给晒你了!感激不尽!<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.STYLE1 {
font-size: 12px;
color: #147233;
}
-->
</style></head><body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="23" background="images/main_25.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="181" height="23" background="images/main_24.gif"> </td>
<td><div align="right" class="STYLE1">今天是:2010年01月01日 星期五</div></td>
<td width="25"><img src="images/main_27.gif" width="25" height="23" /></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.STYLE1 {
font-size: 12px;
color: #147233;
}
-->
</style></head><body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="23" background="images/main_25.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="181" height="23" background="images/main_24.gif"> </td>
<td><div align="right" class="STYLE1">今天是:2010年01月01日 星期五</div></td>
<td width="25"><img src="images/main_27.gif" width="25" height="23" /></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
解决方案 »
- 写一个servlet,执行这段代码,新手请教~
- java链接数据库中几句不懂得代码
- 如何让原有数据连贯起来
- struts的action里如何得到radio
- 写一个JAVABEAN 关于语言国际化的问题!(在线等!急)
- 请教网页时间倒计时的问题
- jsp显示带html标签的文本?详情见内容!请求帮助!
- [高手帮忙]Tomcat至今没有解决的问题!!!
- 能给我提一些JSP的问题吗?
- 在JSP页面按钮用Image来代替按钮,但是不响应回车事件求解决方案急!急!急!急!急!急!急!急!
- Could not execute JDBC batch update
- 小弟有一个scwcd的问题不是很确定,请大家指点一下!
java.text.SimpleDateFormat format = new java.text.SimpleDateFormat("yyyy年MM月dd日 EEEE");
out.println(format.format(new java.util.Date()));%>