Win98¿¡¼­ ¾ÆÆÄÄ¡¼­ºí¸´¿¡¼­ ¿À¶óŬÁ¢¼ÓÀÌ ¾ÈµÅ¿ä ?


[ ´ÙÀ½ ±Ûµé ] [ À̾ ±Û¿Ã¸®±â(´äÇϱâ) ] [ ÀÚ¹Ù ¹¯°í ´äÇϱâ ]

±Û¾´ÀÌ :Á¤Á¾¹Î 1999³â 10¿ù 09ÀÏ 10:51:46

À©µµ¿ìÁî 98¿¡ ¾ÆÆÄÀÌ À¥¼­¹ö 1.3.6À» ¼³Ä¡ÇÏ°í
JServ¸¦ 1.0À» ¼³Ä¡ÇÏ¿© ¼­ºí¸´À» Å×½ºÆ® ÁßÀÔ´Ï´Ù.


¼­ºí¸´¿¡¼­ °£´ÜÈ÷ ¿À¶óŬÀ» Á¢¼ÓÀ» Å×½ºÆ®ÇÏ´õÁß...
´ÙÀ½°ú °°Àº ¿¡·¯°¡ ¹ß»ýµË´Ï´Ù...


[09/10/1999 10:31:25:680 GMT+09:00] java.lang.UnsatisfiedLinkError: no ocijdbc8 in shared library path
at org.apache.jserv.JServConnection.processRequest(JServConnection.java)
at org.apache.jserv.JServConnection.run(JServConnection.java)
at java.lang.Thread.run(Thread.java:466)


ÇÁ·Î±×·¥ÀÇ ¼Ò½º´Â jserv¼³Ä¡ µ¥¸ð·Î ¼³Ä¡µÈ
IsItWorkingÀ» jdbc¿¹Á¦¸¦ Ãß°¡Çؼ­
¿À¶óŬ Á¢¼ÓÀ» ´Ü¼øÈ÷ Å×½ºÆ®Çϱâ À§ÇÑ ÇÁ·Î±×·¥ÀÔ´Ï´Ù.


¿¡·¯ ¿øÀÎÁ» ã¾ÆÁÖ¼¼¿ä....



public class IsItWorking extends HttpServlet {


public static final String TITLE = "Yes, It's working!";
int count = 0;



public void service (HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
{
// set content type and other response header fields first
response.setContentType("text/html");


// get the communication channel with the requesting client
PrintWriter out = response.getWriter();


// get the server identification
String server = getServletConfig().getServletContext().getServerInfo();
count++;


// write the data
out.println("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2//EN\">"
+ "<HTML>"
+ "<HEAD>"
+ " <TITLE>" + TITLE + "</TITLE>"
+ " <META NAME=\"Author\" CONTENT=\"" + server + "\">"
+ "</HEAD>"
+ "<BODY BGCOLOR=\"#FFFFFF\">"
+ " <CENTER>"
+ " <IMG SRC=\"/jserv/status?image\" BORDER=\"0\">"
+ " <H1>" + TITLE + "</H1>" + count
+ " <H2>Congratulations, " + server + " is working!</H2>"
+ " <FONT SIZE=\"-1\">Copyright (c) 1997-99"
+ " <A HREF=\"http://java.apache.org/\">The Java Apache Project</a><br>"
+ " All rights reserved.</FONT>"
+ " </CENTER>"
+ "</BODY>"
+ "</HTML>");

try
{
// Load the Oracle JDBC driver
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());

// Connect to the database
// You can put a database name after the @ sign in the connection URL.
Connection conn =
DriverManager.getConnection ("jdbc:oracle:oci8:@KFOOD", "scott", "tiger");

// Create a Statement
Statement stmt = conn.createStatement ();

// Select the ENAME column from the EMP table
ResultSet rset = stmt.executeQuery ("select ENAME from EMP");

// Iterate through the result and print the employee names
while (rset.next ())
System.out.println (rset.getString (1));

// Close the RseultSet
rset.close();

// Close the Statement
stmt.close();

// Close the connection
conn.close();
}
catch(SQLException exc)
{
}
}
}



´ÙÀ½ ±Ûµé:



À̾ ±Û¿Ã¸®±â(´äÇϱâ)

À̸§:
E-Mail:
Á¦¸ñ:
³»¿ë:
HTML ÅÂ±× Æ÷ÇÔ ¿©ºÎ: HTML ¹®¼­ÀÏ °æ¿ì üũ
°ü·Ã URL(¼±ÅÃ):
URL Á¦¸ñ(¼±ÅÃ):
°ü·Ã À̹ÌÁö URL:


[ ´ÙÀ½ ±Ûµé ] [ À̾ ±Û¿Ã¸®±â(´äÇϱâ) ] [ ÀÚ¹Ù ¹¯°í ´äÇϱâ ]