Code warning - failed on resource SArticleController.java. Reason: The import java.util.Date is never used, line 14 - failed on resource core. Reason: The import java.util.Date is never used, line 14 - failed on resource web. Reason: The import java.util.Date is never used, line 14 - failed on resource core. Reason: The import java.util.Date is never used, line 14 - failed on resource yacos. Reason: The import java.util.Date is never used, line 14 ... and more. Override reason: hoho
34 lines
1.3 KiB
XML
34 lines
1.3 KiB
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: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="org.yacos.core.web.MainController" />
|
|
|
|
<bean name="/submissionArticle.htm" class="org.yacos.core.web.SArticleController" />
|
|
|
|
<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> |