BACKRUSH  À¯´Ð½º¸í·É  ´ÙÀ½  ÀÚ·á½Ç  Ascii Table   ¿ø°ÝÁ¢¼Ó  ´Þ·Â,½Ã°£   ÇÁ·Î¼¼½º   ½©
ÁöÇÏö³ë¼±   RFC¹®¼­   SUN FAQ   SUN FAQ1   C¸Þ´º¾ó   PHP¸Þ´º¾ó   ³Ê±¸¸®   ¾Æ½ºÅ°¿ùµå ¾ÆÀÌÇǼ­Ä¡

±Û¾´ÀÌ: jsp jsp+¿À¶óŬ Å×½ºÆ®ÄÚµù Á¶È¸¼ö: 7549


<%@ page language="java" import="java.sql.*" contentType="text/html;charset=euc-
kr" %>

<%
String res=null;

DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1
521:BACK","scott","tiger");

Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("select sysdate from dual");
rs.next();
res=rs.getString(1);
if (rs==null)
{
out.println("JUST NULL");
}
else
{
out.println(res);
}
stmt.close();
conn.close();
%>

°ü·Ã±Û : 1 °Ç ±Û¾´½Ã°£ : 2003/03/10 5:32 from 61.82.164.84

 

Á¦ ¸ñ

Á¶È¸

³¯Â¥

±Û¾´ÀÌ

jsp+¿À¶óŬ Å×½ºÆ®ÄÚµù

7549

2002.01.19

jsp


  PHP °³¿ä ¸ñ·Ïº¸±â »õ±Û ¾²±â Áö¿ì±â ÀÀ´ä±Û ¾²±â ±Û ¼öÁ¤ Pool À̶õ ¹«¾ùÀΰ¡  
BACKRUSH  À¯´Ð½º¸í·É  ´ÙÀ½  ÀÚ·á½Ç  Ascii Table   ¿ø°ÝÁ¢¼Ó  ´Þ·Â,½Ã°£   ÇÁ·Î¼¼½º   ½©
ÁöÇÏö³ë¼±   RFC¹®¼­   SUN FAQ   SUN FAQ1   C¸Þ´º¾ó   PHP¸Þ´º¾ó   ³Ê±¸¸®   ¾Æ½ºÅ°¿ùµå ¾ÆÀÌÇǼ­Ä¡