Début d'ajout DWR
This commit is contained in:
BIN
YACOSWeb/WebContent/WEB-INF/lib/commons-logging-1.0.4.jar
Normal file
BIN
YACOSWeb/WebContent/WEB-INF/lib/commons-logging-1.0.4.jar
Normal file
Binary file not shown.
Binary file not shown.
BIN
YACOSWeb/WebContent/WEB-INF/lib/dwr.jar
Normal file
BIN
YACOSWeb/WebContent/WEB-INF/lib/dwr.jar
Normal file
Binary file not shown.
@@ -1,14 +1,15 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<web-app version="2.4"
|
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||||
xmlns="http://java.sun.com/xml/ns/j2ee"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
|
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
|
||||||
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
|
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
|
||||||
|
|
||||||
<servlet>
|
<servlet>
|
||||||
<servlet-name>yacos</servlet-name>
|
<servlet-name>yacos</servlet-name>
|
||||||
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
|
<servlet-class>
|
||||||
|
org.springframework.web.servlet.DispatcherServlet
|
||||||
|
</servlet-class>
|
||||||
<load-on-startup>1</load-on-startup>
|
<load-on-startup>1</load-on-startup>
|
||||||
</servlet>
|
</servlet>
|
||||||
|
|
||||||
@@ -18,27 +19,36 @@
|
|||||||
</servlet-mapping>
|
</servlet-mapping>
|
||||||
|
|
||||||
<welcome-file-list>
|
<welcome-file-list>
|
||||||
<welcome-file>
|
<welcome-file>index.jsp</welcome-file>
|
||||||
index.jsp
|
|
||||||
</welcome-file>
|
|
||||||
</welcome-file-list>
|
</welcome-file-list>
|
||||||
|
|
||||||
<jsp-config>
|
<jsp-config>
|
||||||
<taglib>
|
<taglib>
|
||||||
<taglib-uri>/spring</taglib-uri>
|
<taglib-uri>/spring</taglib-uri>
|
||||||
<taglib-location>/WEB-INF/tld/spring-form.tld</taglib-location>
|
<taglib-location>
|
||||||
|
/WEB-INF/tld/spring-form.tld
|
||||||
|
</taglib-location>
|
||||||
</taglib>
|
</taglib>
|
||||||
</jsp-config>
|
</jsp-config>
|
||||||
|
|
||||||
<!-- SiteMesh Integration declaration -->
|
<!-- Servlet for DWR mapping -->
|
||||||
|
<!-- <servlet-mapping>
|
||||||
|
<servlet-name>yacos</servlet-name>
|
||||||
|
<url-pattern>/dwr/*</url-pattern>
|
||||||
|
</servlet-mapping> -->
|
||||||
|
|
||||||
|
<!-- SiteMesh Integration declaration Start -->
|
||||||
<filter>
|
<filter>
|
||||||
<filter-name>sitemesh</filter-name>
|
<filter-name>sitemesh</filter-name>
|
||||||
<filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
|
<filter-class>
|
||||||
|
com.opensymphony.module.sitemesh.filter.PageFilter
|
||||||
|
</filter-class>
|
||||||
</filter>
|
</filter>
|
||||||
|
|
||||||
<filter-mapping>
|
<filter-mapping>
|
||||||
<filter-name>sitemesh</filter-name>
|
<filter-name>sitemesh</filter-name>
|
||||||
<url-pattern>/*</url-pattern>
|
<url-pattern>/*</url-pattern>
|
||||||
</filter-mapping>
|
</filter-mapping>
|
||||||
|
<!-- SiteMesh Integration declaration End -->
|
||||||
|
|
||||||
</web-app>
|
</web-app>
|
||||||
@@ -3,6 +3,7 @@
|
|||||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xmlns:flow="http://www.springframework.org/schema/webflow-config"
|
xmlns:flow="http://www.springframework.org/schema/webflow-config"
|
||||||
|
xmlns:dwr="http://www.directwebremoting.org/schema/spring-dwr"
|
||||||
xmlns:jee="http://www.springframework.org/schema/jee"
|
xmlns:jee="http://www.springframework.org/schema/jee"
|
||||||
xmlns:lang="http://www.springframework.org/schema/lang"
|
xmlns:lang="http://www.springframework.org/schema/lang"
|
||||||
xmlns:util="http://www.springframework.org/schema/util"
|
xmlns:util="http://www.springframework.org/schema/util"
|
||||||
@@ -10,7 +11,8 @@
|
|||||||
http://www.springframework.org/schema/webflow-config http://www.springframework.org/schema/webflow-config/spring-webflow-config-1.0.xsd
|
http://www.springframework.org/schema/webflow-config http://www.springframework.org/schema/webflow-config/spring-webflow-config-1.0.xsd
|
||||||
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.0.xsd
|
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.0.xsd
|
||||||
http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.0.xsd
|
http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.0.xsd
|
||||||
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd">
|
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd
|
||||||
|
http://www.directwebremoting.org/schema/spring-dwr http://www.directwebremoting.org/schema/spring-dwr-2.0.xsd">
|
||||||
|
|
||||||
|
|
||||||
<!-- the application context definition for the SiteWebSpring DispatcherServlet -->
|
<!-- the application context definition for the SiteWebSpring DispatcherServlet -->
|
||||||
@@ -70,6 +72,7 @@
|
|||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<bean name="/addConference4.htm" class="org.yacos.web.chairman.controller.AddConferenceController">
|
<bean name="/addConference4.htm" class="org.yacos.web.chairman.controller.AddConferenceController">
|
||||||
|
<dwr:remote javascript="AddCriteriaJS" />
|
||||||
<property name="sessionForm" value="true" />
|
<property name="sessionForm" value="true" />
|
||||||
<property name="commandName" value="formConference" />
|
<property name="commandName" value="formConference" />
|
||||||
<property name="commandClass" value="org.yacos.web.chairman.form.FormConference" />
|
<property name="commandClass" value="org.yacos.web.chairman.form.FormConference" />
|
||||||
@@ -123,6 +126,37 @@
|
|||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- <bean id="dwrUrlMapping"
|
||||||
|
class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
|
||||||
|
<property name="alwaysUseFullPath" value="true" />
|
||||||
|
<property name="mappings">
|
||||||
|
<props>
|
||||||
|
<prop key="/dwr/**/*">dwrController</prop>
|
||||||
|
</props>
|
||||||
|
</property>
|
||||||
|
</bean>
|
||||||
|
|
||||||
|
<dwr:controller id="dwrController" debug="true"></dwr:controller>
|
||||||
|
<dwr:configuration>
|
||||||
|
<dwr:convert type="bean"
|
||||||
|
class="org.yacos.web.chairman.form.FormConference">
|
||||||
|
</dwr:convert>-->
|
||||||
|
|
||||||
|
<!-- <dwr:convert type="bean"
|
||||||
|
class="iConfWeb.bean.viewPaper.DetailPaper">
|
||||||
|
</dwr:convert>
|
||||||
|
<dwr:convert type="bean"
|
||||||
|
class="iConfWeb.bean.assignation.PcMemberBean">
|
||||||
|
</dwr:convert>
|
||||||
|
<dwr:convert type="bean"
|
||||||
|
class="iConfWeb.bean.assignation.Assignations">
|
||||||
|
</dwr:convert> -->
|
||||||
|
<!--<dwr:convert type="bean" class="java.lang.StackTraceElement"></dwr:convert>
|
||||||
|
<dwr:convert type="exception" class="java.lang.exception"></dwr:convert>
|
||||||
|
|
||||||
|
</dwr:configuration> -->
|
||||||
|
|
||||||
|
|
||||||
<!-- View Resolver -->
|
<!-- View Resolver -->
|
||||||
<bean id="viewResolver"
|
<bean id="viewResolver"
|
||||||
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
|
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
|
||||||
|
|||||||
Reference in New Issue
Block a user