Removed the trunk folder, moved the YACOSWeb directory
This commit is contained in:
32
YACOSWeb/WebContent/WEB-INF/yacos-servlet.xml
Normal file
32
YACOSWeb/WebContent/WEB-INF/yacos-servlet.xml
Normal file
@@ -0,0 +1,32 @@
|
||||
<?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:jee="http://www.springframework.org/schema/jee"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
||||
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
|
||||
http://www.springframework.org/schema/jee
|
||||
http://www.springframework.org/schema/jee/spring-jee-2.5.xsd">
|
||||
|
||||
<!-- the application context definition for the SiteWebSpring DispatcherServlet -->
|
||||
|
||||
<bean name="/main.htm" class="web.MainController" />
|
||||
|
||||
<bean id="viewResolver"
|
||||
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
|
||||
<property name="viewClass"
|
||||
value="org.springframework.web.servlet.view.JstlView">
|
||||
</property>
|
||||
<property name="prefix" value="/WEB-INF/jsp/"></property>
|
||||
<property name="suffix" value=".jsp"></property>
|
||||
</bean>
|
||||
|
||||
<bean id="messageSource"
|
||||
class="org.springframework.context.support.ResourceBundleMessageSource">
|
||||
<property name="basename" value="messages" />
|
||||
</bean>
|
||||
|
||||
<jee:jndi-lookup id="articleManager" jndi-name="ArticleManagerBean/remote"
|
||||
cache="true" />
|
||||
|
||||
</beans>
|
||||
Reference in New Issue
Block a user