<%@ page import="java.sql.*" %> <%@ page import="oracle.jdbc.driver.*" %> <%@ include file ="include/common.jsp"%> <%@ page contentType="text/html;charset=big5"%> 新聞中心
<%@ include file="include/c_header.html" %>
  認 識 默 沙 東
separator
認 識 默 沙 東
認 識 默 沙 東
美國默沙東藥廠
香港默沙東
訂立長遠目標 迎接廿一紀元
關懷備至 全力以赴
緊密合作 茁壯成長
 默沙東在香港銷售的主要產品
新 聞 中 心
 
用科研將健康展現
<% // Connection of JDBC Class.forName("oracle.jdbc.driver.OracleDriver"); Connection conn = DriverManager.getConnection(gbl_cnn,gbl_usr,gbl_pwd); Statement stmt = conn.createStatement(); ResultSet rset = stmt.executeQuery ("select news_date a, id, to_char(news_date,'YY.MM.DD HH24:MI') news_date, c_headline, c_content from news where status = 'C' and sysdate <= off_date and sysdate >= post_date order by a DESC"); %> <% while (rset.next()) { %> <% } conn.close(); %>
新 聞 中 心
新 聞 中 心
  <%=rset.getString("news_date")%> "><%=rset.getString("c_headline")%> <%=rset.getString("c_content")%>
<%@ include file="include/c_footer.html" %>