无
yan0320sd2007-06-09 09:49
我有一段关于session和request的代码应用问题,是这样的,好像是session应用范围的问题,就是调用出了问题,帮忙看一下吧:
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page import ="java.sql.*" %>
");
out.println("用户名: " +rs.getString("gst_user"));
out.println(" ");
out.println("主题:"+rs.getString("gst_title")+"
");
out.println("内容:"+rs.getString("gst_content")+"
");
Timestamp ts = rs.getTimestamp("gst_time");
long lms = ts.getTime();
Date date = new Date(lms);
Time time = new Time(lms);
out.println("留言时间 :"+date);
out.println(" ");
out.println(time);
out.println(" ");
out.println("用户IP:"+rs.getString("gst_ip")+"
");
i++;
rs.next();
}
rs.close();
%>