Changes from Version 1 of action-servlet.xml

차이점 주위로
다음 차이점은 무시하기:
작성자:
anonymous (IP: 122.101.191.254)
날짜/시간:
2012-01-17 PM 1:31:48 (13 년 전)
설명:

--

Legend:

변경되지 않음
추가됨
제거됨
변경됨
  • action-servlet.xml

    v0 v1  
     1--anyframe 
     2--core-servlet.xml 
     3{{{ 
     4 
     5<?xml version="1.0" encoding="UTF-8"?> 
     6<beans xmlns="http://www.springframework.org/schema/beans" 
     7        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" 
     8        xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:anyframe="http://www.anyframejava.org/schema/mvc" 
     9        xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd 
     10                http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd 
     11                http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd 
     12                http://www.anyframejava.org/schema/mvc http://www.anyframejava.org/schema/mvc/anyframe-spring-mvc-4.5.xsd"> 
     13 
     14        <anyframe:annotation-driven     synchronizeOnSession="true" /> 
     15 
     16        <context:component-scan base-package="com.everland" 
     17                use-default-filters="false"> 
     18                <context:include-filter type="annotation" 
     19                        expression="org.springframework.stereotype.Controller" /> 
     20        </context:component-scan> 
     21 
     22        <bean 
     23                class="org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping"> 
     24        </bean> 
     25 
     26        <bean id="exceptionResolver" 
     27                class="com.everland.common.MovieFinderExceptionResolver"> 
     28                <property name="defaultErrorView" value="forward:/sample/common/error.jsp" /> 
     29        </bean> 
     30 
     31   <bean id="jstlViewResolver" class="org.springframework.web.servlet.view.UrlBasedViewResolver"> 
     32       <property name="viewClass" value="org.springframework.web.servlet.view.JstlView" /> 
     33       <property name="prefix" value="/WEB-INF/jsp/"/> 
     34       <property name="suffix" value=".jsp"/> 
     35    </bean> 
     36 
     37        <bean id="localeResolver" 
     38                class="org.springframework.web.servlet.i18n.SessionLocaleResolver"> 
     39                <property name="defaultLocale" value="en_US" /> 
     40        </bean> 
     41 
     42</beans> 
     43}}}