DBCP

분류없음 | 2009/03/28 23:00 | 830801

─────────────────────────────────────────────

JDBC Connection

─────────────────────────────────────────────

 

<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR"%>
<%@ page import="java.sql.*"%>
<%@ page import="javax.naming.*" %>
<%@ page import="javax.sql.DataSource" %>

<%!
 Connection con = null;
 DataSource ds = null;
%>

<%
 try
 {
  Context ctx = new InitialContext();
  ds=(DataSource)ctx.lookup("java:comp/env/jdbc/oracle");
  con=ds.getConnection();
  System.out.println("Connection Ok");
 }
 catch(NamingException ne) { ne.printStackTrace(); }
 catch(SQLException se) { se.printStackTrace(); }
 finally
 {
  try
  {
   if(con!=null) con.close();
   System.out.println("Connection Close");
  }
  catch(Exception e) { e.printStackTrace(); }
 }
%>

태그 : JSP

<INPUT>폼 테두리 감추기

분류없음 | 2009/02/04 11:41 | 830801
style="border:0px
태그 : HTML

A.O.P

Frameworks/Spring | 2009/01/21 12:35 | 830801

spring-framework-2.5.6\lib\aspectj\aspectjrt.jar

spring-framework-2.5.6\lib\aspectj\aspectjweaver.jar

spring-framework-2.5.6\lib\cglib\cglib-nodep-2.1_3.jar

태그 : Spring

dd

Frameworks/Spring | 2009/01/19 16:51 | 830801

HandlerMapping

클라이언트의 요청을 어떤 컨트롤러가 처리할지에 대한 정보

 

ModelAndView

컨트롤러의 처리결과에 대한 응답화면을 생성할 뷰정보와 응답화면을 생성할때 필요한 정보를 저장

 

Spring - Tiles

Frameworks/Spring | 2009/01/19 16:48 | 830801

Tiles2를 연동하기 위해 필요한 jar파일을 클래스 패스에 추가

-------------------------------------------------------------------------------------

1. tiles-api-2.0.x.jar

2. tiles-core-2.0.x.jar

3. tiles-jsp-2.0.x.jar

4. commons-beanutils.jar

5. commons-digester.jar

6. commons-logging.jar

7. spring-webmvc.jar

-------------------------------------------------------------------------------------

Tiles2를 사용한 예제(게시판)

-------------------------------------------------------------------------------------

태그 : Spring,tiles2
이전 1 2 3 4 5 6 ... 9 다음