[146] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 2 | <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> |
---|
[89] | 3 | |
---|
[129] | 4 | <display-name>Megapoli</display-name> |
---|
[89] | 5 | |
---|
[129] | 6 | <welcome-file-list> |
---|
| 7 | <welcome-file>/init.jsp</welcome-file> |
---|
| 8 | </welcome-file-list> |
---|
[89] | 9 | |
---|
[199] | 10 | <!--<context-param>--> |
---|
| 11 | <!--<param-name>contextConfigLocation</param-name>--> |
---|
| 12 | <!--<param-value>--> |
---|
| 13 | <!--classpath:hibernate.cfg.xml,--> |
---|
| 14 | <!--classpath:dao-context.xml,--> |
---|
| 15 | <!--classpath:service-context.xml,--> |
---|
| 16 | <!----> |
---|
| 17 | <!--classpath:json/json-context.xml--> |
---|
| 18 | <!--</param-value>--> |
---|
| 19 | <!--</context-param>--> |
---|
| 20 | |
---|
[129] | 21 | <context-param> |
---|
| 22 | <param-name>contextConfigLocation</param-name> |
---|
| 23 | <param-value> |
---|
[199] | 24 | /WEB-INF/classes/hibernate.cfg.xml, |
---|
| 25 | /WEB-INF/classes/dao-context.xml, |
---|
| 26 | /WEB-INF/classes/service-context.xml, |
---|
[89] | 27 | |
---|
[199] | 28 | /WEB-INF/classes/json/json-context.xml |
---|
[89] | 29 | </param-value> |
---|
[129] | 30 | </context-param> |
---|
[89] | 31 | |
---|
[129] | 32 | <listener> |
---|
| 33 | <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> |
---|
| 34 | </listener> |
---|
[89] | 35 | |
---|
[129] | 36 | <!-- TAGLIBS --> |
---|
| 37 | <!--<taglib>--> |
---|
| 38 | <!--<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>--> |
---|
| 39 | <!--<taglib-location>/WEB-INF/tags/htmlJsp.tag</taglib-location>--> |
---|
| 40 | <!--</taglib>--> |
---|
[89] | 41 | |
---|
[129] | 42 | <!--<taglib>--> |
---|
| 43 | <!--<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>--> |
---|
| 44 | <!--<taglib-location>/WEB-INF/tags/htmlResourceJsp.tag</taglib-location>--> |
---|
| 45 | <!--</taglib>--> |
---|
[89] | 46 | |
---|
[129] | 47 | <!--<taglib>--> |
---|
| 48 | <!--<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>--> |
---|
| 49 | <!--<taglib-location>/WEB-INF/tags/htmlCss.tag</taglib-location>--> |
---|
| 50 | <!--</taglib>--> |
---|
[89] | 51 | |
---|
[129] | 52 | <!--<taglib>--> |
---|
| 53 | <!--<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>--> |
---|
| 54 | <!--<taglib-location>/WEB-INF/tags/htmlJs.tag</taglib-location>--> |
---|
| 55 | <!--</taglib>--> |
---|
[89] | 56 | |
---|
[129] | 57 | <!--SERVLETS --> |
---|
| 58 | <servlet> |
---|
| 59 | <servlet-name>visualization</servlet-name> |
---|
| 60 | <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> |
---|
| 61 | <init-param> |
---|
| 62 | <param-name>contextConfigLocation</param-name> |
---|
| 63 | <param-value> |
---|
| 64 | /WEB-INF/servlet-context.xml |
---|
[89] | 65 | </param-value> |
---|
[129] | 66 | </init-param> |
---|
| 67 | </servlet> |
---|
[89] | 68 | |
---|
[129] | 69 | <servlet-mapping> |
---|
| 70 | <servlet-name>visualization</servlet-name> |
---|
| 71 | <url-pattern>/visualization</url-pattern> |
---|
| 72 | </servlet-mapping> |
---|
[89] | 73 | |
---|
[129] | 74 | <servlet> |
---|
| 75 | <servlet-name>action</servlet-name> |
---|
| 76 | <servlet-class>org.apache.struts.action.ActionServlet</servlet-class> |
---|
| 77 | <init-param> |
---|
| 78 | <param-name>debug</param-name> |
---|
| 79 | <param-value>3</param-value> |
---|
| 80 | </init-param> |
---|
| 81 | <init-param> |
---|
| 82 | <param-name>config</param-name> |
---|
| 83 | <param-value>/WEB-INF/struts-config.xml</param-value> |
---|
| 84 | </init-param> |
---|
| 85 | <load-on-startup>0</load-on-startup> |
---|
| 86 | </servlet> |
---|
[89] | 87 | |
---|
[129] | 88 | <servlet-mapping> |
---|
| 89 | <servlet-name>action</servlet-name> |
---|
| 90 | <url-pattern>*.do</url-pattern> |
---|
| 91 | </servlet-mapping> |
---|
[89] | 92 | |
---|
[129] | 93 | <servlet> |
---|
| 94 | <servlet-name>plotEther</servlet-name> |
---|
| 95 | <servlet-class>com.ether.ControllerPlot</servlet-class> |
---|
| 96 | </servlet> |
---|
[89] | 97 | |
---|
[129] | 98 | <servlet-mapping> |
---|
| 99 | <servlet-name>plotEther</servlet-name> |
---|
| 100 | <url-pattern>/visualization/plotEther</url-pattern> |
---|
| 101 | </servlet-mapping> |
---|
[89] | 102 | |
---|
[129] | 103 | <servlet> |
---|
[146] | 104 | <servlet-name>MegapoliInitialisation</servlet-name> |
---|
| 105 | <servlet-class>com.medias.megapoli.utils.MegapoliInitialisation</servlet-class> |
---|
| 106 | <load-on-startup>0</load-on-startup> |
---|
[129] | 107 | </servlet> |
---|
[89] | 108 | |
---|
[146] | 109 | <!-- taglib> |
---|
| 110 | <taglib-uri>/tlds/struts-logic.tld</taglib-uri> |
---|
| 111 | <taglib-location>/tlds/struts-logic.tld</taglib-location> |
---|
| 112 | </taglib> |
---|
| 113 | <taglib> |
---|
| 114 | <taglib-uri>/tlds/struts-html.tld</taglib-uri> |
---|
| 115 | <taglib-location>/tlds/struts-html.tld</taglib-location> |
---|
| 116 | </taglib> |
---|
| 117 | <taglib> |
---|
| 118 | <taglib-uri>/tlds/struts-bean.tld</taglib-uri> |
---|
| 119 | <taglib-location>/tlds/struts-bean.tld</taglib-location> |
---|
| 120 | </taglib> |
---|
| 121 | <taglib> |
---|
| 122 | <taglib-uri>/tlds/struts-nested.tld</taglib-uri> |
---|
| 123 | <taglib-location>/tlds/struts-nested.tld</taglib-location> |
---|
| 124 | </taglib--> |
---|
[129] | 125 | |
---|
| 126 | <resource-ref> |
---|
| 127 | <description>postgreSQL Datasource</description> |
---|
| 128 | <res-ref-name>megapoli/jdbc</res-ref-name> |
---|
| 129 | <res-type>javax.sql.DataSource</res-type> |
---|
| 130 | <res-auth>Container</res-auth> |
---|
| 131 | </resource-ref> |
---|
| 132 | |
---|
| 133 | <session-config> |
---|
| 134 | <session-timeout>60</session-timeout> |
---|
| 135 | <!-- minute --> |
---|
| 136 | </session-config> |
---|
| 137 | |
---|
[89] | 138 | </web-app> |
---|