2011년 9월 5일 월요일
함수명파라미터, 인터셉터, FLEX 설정 셋팅-1(servlet-intro.xml)
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dwr="http://www.directwebremoting.org/schema/spring-dwr"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.directwebremoting.org/schema/spring-dwr
http://www.directwebremoting.org/schema/spring-dwr-2.0.xsd">
<bean id="introNoInterceptorHandlerMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<property name="order" value="1" />
<property name="interceptors">
<list>
<ref bean="secfw.noauthpageInterceptor" />
</list>
</property>
<property name="alwaysUseFullPath" value="true" />
<property name="mappings">
<props>
</props>
</property>
</bean>
<bean id="introIndexDoHandlerMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<property name="order" value="2" />
<property name="alwaysUseFullPath" value="true" />
<property name="mappings">
<props>
<prop key="/intro/index.do">intro.IndexControl</prop> <!-- Index -->
<prop key="/intro/IntroLeftMenu.do">intro.IntroLeftMenuControl</prop> <!-- Left 메뉴 -->
<prop key="/intro/IntroMain.do">intro.IntroMainControl</prop> <!-- 메인 -->
</props>
</property>
</bean>
<bean id="introHandlerMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<property name="order" value="3" />
<property name="interceptors">
<list>
<ref bean="secfw.pageInterceptor" />
<!-- ref bean="logPageUseInterceptor" / -->
<!-- ref bean="secfw.localeInterceptor" / -->
</list>
</property>
<property name="alwaysUseFullPath" value="true" />
<property name="mappings">
<props>
</props>
</property>
</bean>
<!-- 공통 -->
<!-- Intro Index -->
<bean id="intro.IndexControl" class="anyframe.web.springmvc.controller.ForwardController">
<property name="viewName" value="/jsp/secfw/user/ssoCheck.jsp?secfw.forwardURL=/jsp/dmce/intro/index.jsp" />
</bean>
<!-- Left 메뉴 -->
<bean id="intro.IntroLeftMenuControl" class="dmce.intro.common.menu.control.IntroLeftMenuController">
<property name="introLeftMenuService" ref="intro.IntroLeftMenuService" />
<property name="propertyService" ref="secfw.propertyService" />
<property name="methodNameResolver" ref="paramResolver" />
<property name="success_list" value="/jsp/dmce/intro/IntroLeftMenu.jsp" />
</bean>
<!-- 현장학습 메인 -->
<bean id="intro.IntroMainControl" class="dmce.intro.common.main.control.IntroMainController">
<property name="introMainService" ref="intro.IntroMainService" />
<property name="messageService" ref="secfw.messageService" />
<property name="propertyService" ref="secfw.propertyService" />
<property name="methodNameResolver" ref="paramResolver" />
</bean>
</beans>
피드 구독하기:
댓글 (Atom)
댓글 없음:
댓글 쓰기