footprint070707: fp-servlet.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"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">

<'bean id="footprintController" class="com.footprint.controller.FootprintController"/>

<'bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<'property name="mappings">
<'props>
<'prop key="/login.htm">footprintController<'/prop>
<'prop key="/loginForm.htm">loginController<'/prop>
<'/props>
<'/property>
<'/bean>

<'bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<'property name="viewClass"><'value>org.springframework.web.servlet.view.JstlView<'/value><'/property>
<'property name="prefix"><'value>/WEB-INF/jsp/<'/value><'/property>
<'property name="suffix"><'value>.jsp<'/value><'/property>
<'/bean>

<'bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource">
<'property name="basename"><'value>msg<'/value><'/property>
<'/bean>

<'bean id="loginController" class="com.footprint.controller.LoginController">
<'property name="loginService"><'ref bean="loginService"/><'/property>
<'/bean>



<'bean id="loginForm" class="com.footprint.form.LoginForm"/>
<'bean id="loginService" class="com.footprint.service.LoginService"/>

<'/beans>

tag : SimpleUrlHandlerMapping InternalResourceViewResolver JstlView ResourceBundleMessageSource

2007-07-18 23:41 : footprint : コメント : 0 : トラックバック : 0 :
コメントの投稿
非公開コメント

« next  ホーム  prev »

search

ad



counter


tag cloud

category cloud