<%
Date date = new Date();
%>
<tr>
<td>
<%out.println(date.toString());%>
</td>
</tr>
Date date = new Date();
%>
<tr>
<td>
<%out.println(date.toString());%>
</td>
</tr>
解决方案 »
- 求助——关于即时消息的问题,请各位大虾帮助!!!
- cxf怎么处理在spring中的数据库配置?用的ibatis
- struts2日历控件的JS判断
- 请教各位:关于Ajax 提交form表单,不执行action中的方法!郁闷
- 在线等,急!JSP分页问题:jsp+MySQL分页用javabean还是用前台分页要好些?
- java有没有像php那样开源的blog bbs cms比较好的系统?!
- 急啊!如何提交JSP循环出来的文本框啊
- javascrtip如何嵌套struts标签
- JspSmartUpload下载报错getOutputStream() has already been called for this response
- 关于删除文件的问题
- 如何使用openssl,要具体的操作步骤。给出即给100分,不要帖没用的文档给我。
- jive连接mysql出错(在线给分)
{
String s = null;
try
{
Calendar calendar = Calendar.getInstance();
int i = calendar.get(1);
int j = calendar.get(2) + 1;
int k = calendar.get(5);
int l = calendar.get(11);
int i1 = calendar.get(12);
int j1 = calendar.get(13);
s = i + "-" + j + "-" + k + " " + l + ":" + i1 + ":" + j1;
}
catch(Exception exception)
{
System.out.println("get system time" + exception.getMessage());
}
return s;
}