日期:2014-05-18  浏览次数:20620 次

帮我看看,在页面上显示的时间怎么不对?
<%@   page   contentType= "text/html;   charset=gb2312 "   language= "java "   import= "java.sql.* "   errorPage= " "   %>
<%@   page   import= "myclass.DealString "%>
<jsp:useBean   id= "alogin "   scope= "page "   class= "myclass.Login "   />
<%
String   mesg   =   " ";

if(   request.getParameter( "ManagerID ")!=null   &&   !request.getParameter( "ManagerID ").equals( " ")){
String   ManagerID   =request.getParameter( "ManagerID ");
String   password   =   request.getParameter( "password ");
ManagerID   =   new   String(ManagerID.getBytes( "ISO8859-1 "));
password   =   new   String(password.getBytes( "ISO8859-1 "));
alogin.setManagerID(ManagerID);
alogin.setpassword(password);
if   (alogin.excute()){
session.setAttribute( "ManagerID ",ManagerID);
response.sendRedirect( "borrowBooks.jsp ");
%>
<%
}else   {
mesg   =   "登录出错! " ;
}
}
%>
<head>
<meta   http-equiv= "Content-Type "   content= "text/html;   charset=gb2312 "   />

<title> 图书借阅系统: </title>

<link   href= "abc.css "   rel= "stylesheet "   type= "text/css "   />
<style   type= "text/css ">
<!--
a:link   {
text-decoration:   none;
}
a:visited   {
text-decoration:   none;
}
a:hover   {
text-decoration:   none;
}
a:active   {
text-decoration:   none;
}
.a1   {
border-right-width:   1px;
border-top-style:   none;
border-right-style:   solid;
border-bottom-style:   none;
border-left-style:   none;
border-right-color:   #CCCCCC;
}
.STYLE2   {font-size:   14px}
.STYLE5   {font-size:   14px;   color:   #FF0000;   }
-->
</style>
</head>

<body>
<table   width= "829 "   border= "0 "   align= "center "   cellpadding= "0 "   cellspacing= "0 ">
    <!--DWLayoutTable-->
    <tr>
        <td   width= "250 "   height= "80 "   valign= "top "> <img   src= "img/logo.gif "/> </td>
        <td   width= "579 "   valign= "top "> <!--DWLayoutEmptyCell--> &nbsp; </td>
    </tr>
    <tr>
        <td   height= "25 "   valign= "bottom "   background= "img/INDEX_r2_c1.jpg "   class= "STYLE2 "> <%=DealString.getDateTime()%> </td>
        <td   align= "left "   valign= "middle "   background= "img/INDEX_r2_c1.jpg "> <marquee   scrollamount=4   class= "STYLE2 "   onmouseover=this.