'Spring 공부'에 해당되는 글 13건

  1. 2013.04.12 스프링 정리 잘되어 있는 블로그 1
  2. 2013.04.10 스프링에서 AOP 설정
  3. 2013.04.10 환경설정 오류메세지 정리
Spring 공부2013. 4. 12. 14:00

강좌가 아주 쉽고 코드까지 제공 : http://expert0226.tistory.com/category/강좌/Spring%203.0

Posted by 선한열심
Spring 공부2013. 4. 10. 14:22

~-servlet.xml 에

1. 네임스페이스 3군데 추가

xmlns:aop="http://www.springframework.org/schema/aop"

xsi:schemaLocation="http://www.springframework.org/schema/beans
       http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
        http://www.springframework.org/schema/aop
         http://www.springframework.org/schema/aop/spring-aop-3.0.xsd

 

2. 필요한 jar 파일

@Aspect 를 사용하기 위해 : aspectjweaver-1.6.5.jar

 

 

 

Posted by 선한열심
Spring 공부2013. 4. 10. 14:04

 

jstl.jar

 

standard.jar

 JSTL 사용하려면 두개 jar파일이 필요함 없을때 ( jstl.jar과 standard.jar )

- 오류 메시지 http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml

- invalidAbsoluteTypeName  : annotiation 셋팅 잘못 예: execution(public * net.ucware..*(..))"   ..이 두개인데 하나만 찍었을때

 

 cglib-nodep-2.2.jar

 -  AOP 를 인터페이스를 구현하고 있지 않다면 스프링은 CGLIB를 이용하여 클래스에 대한 프록시 객체를 생성한다

 

HTTP Status 405 - Request method 'GET' not supported : 말 그대로 GET을 지원이 안되는 것이다. POST만 가능하게 구현했을 수 있음

Posted by 선한열심