web.xml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
  5. version="3.1">
  6. <welcome-file-list>
  7. <welcome-file>index.html</welcome-file>
  8. </welcome-file-list>
  9. <servlet>
  10. <description/>
  11. <display-name>SaveServlet</display-name>
  12. <servlet-name>SaveServlet</servlet-name>
  13. <servlet-class>com.mxgraph.online.SaveServlet</servlet-class>
  14. </servlet>
  15. <servlet-mapping>
  16. <servlet-name>SaveServlet</servlet-name>
  17. <url-pattern>/SaveServlet</url-pattern>
  18. </servlet-mapping>
  19. <servlet-mapping>
  20. <servlet-name>SaveServlet</servlet-name>
  21. <url-pattern>/save</url-pattern>
  22. </servlet-mapping>
  23. <servlet>
  24. <description/>
  25. <display-name>OpenServlet</display-name>
  26. <servlet-name>OpenServlet</servlet-name>
  27. <servlet-class>com.mxgraph.online.OpenServlet</servlet-class>
  28. </servlet>
  29. <servlet-mapping>
  30. <servlet-name>OpenServlet</servlet-name>
  31. <url-pattern>/open</url-pattern>
  32. </servlet-mapping>
  33. <servlet>
  34. <description/>
  35. <display-name>ProxyServlet</display-name>
  36. <servlet-name>ProxyServlet</servlet-name>
  37. <servlet-class>com.mxgraph.online.ProxyServlet</servlet-class>
  38. </servlet>
  39. <servlet-mapping>
  40. <servlet-name>ProxyServlet</servlet-name>
  41. <url-pattern>/proxy</url-pattern>
  42. </servlet-mapping>
  43. <servlet>
  44. <description/>
  45. <display-name>EmbedServlet</display-name>
  46. <servlet-name>EmbedServlet</servlet-name>
  47. <servlet-class>com.mxgraph.online.EmbedServlet</servlet-class>
  48. </servlet>
  49. <servlet-mapping>
  50. <servlet-name>EmbedServlet</servlet-name>
  51. <url-pattern>/embed.js</url-pattern>
  52. </servlet-mapping>
  53. <servlet>
  54. <description/>
  55. <display-name>EmbedServlet2</display-name>
  56. <servlet-name>EmbedServlet2</servlet-name>
  57. <servlet-class>com.mxgraph.online.EmbedServlet2</servlet-class>
  58. </servlet>
  59. <servlet-mapping>
  60. <servlet-name>EmbedServlet2</servlet-name>
  61. <url-pattern>/embed2.js</url-pattern>
  62. </servlet-mapping>
  63. <servlet>
  64. <description/>
  65. <display-name>GoogleGadgetServlet</display-name>
  66. <servlet-name>GoogleGadgetServlet</servlet-name>
  67. <servlet-class>com.mxgraph.online.GoogleGadgetServlet</servlet-class>
  68. </servlet>
  69. <servlet-mapping>
  70. <servlet-name>GoogleGadgetServlet</servlet-name>
  71. <url-pattern>/gadget.xml</url-pattern>
  72. </servlet-mapping>
  73. <servlet>
  74. <description/>
  75. <display-name>ImgurRedirect</display-name>
  76. <servlet-name>ImgurRedirect</servlet-name>
  77. <servlet-class>com.mxgraph.online.ImgurRedirectServlet</servlet-class>
  78. </servlet>
  79. <servlet-mapping>
  80. <servlet-name>ImgurRedirect</servlet-name>
  81. <url-pattern>/i/*</url-pattern>
  82. </servlet-mapping>
  83. <servlet>
  84. <description/>
  85. <display-name>GitHubServlet</display-name>
  86. <servlet-name>GitHubServlet</servlet-name>
  87. <servlet-class>com.mxgraph.online.GitHubServlet</servlet-class>
  88. </servlet>
  89. <servlet-mapping>
  90. <servlet-name>GitHubServlet</servlet-name>
  91. <url-pattern>/github</url-pattern>
  92. </servlet-mapping>
  93. <servlet>
  94. <description/>
  95. <display-name>AppShortcutServlet</display-name>
  96. <servlet-name>AppShortcutServlet</servlet-name>
  97. <servlet-class>com.mxgraph.online.AppShortcutServlet</servlet-class>
  98. </servlet>
  99. <servlet-mapping>
  100. <servlet-name>AppShortcutServlet</servlet-name>
  101. <url-pattern>/app</url-pattern>
  102. </servlet-mapping>
  103. <servlet>
  104. <display-name>LogServlet</display-name>
  105. <servlet-name>LogServlet</servlet-name>
  106. <servlet-class>com.mxgraph.online.LogServlet</servlet-class>
  107. </servlet>
  108. <servlet-mapping>
  109. <servlet-name>LogServlet</servlet-name>
  110. <url-pattern>/log</url-pattern>
  111. </servlet-mapping>
  112. <servlet>
  113. <description/>
  114. <display-name>MSGraphAuthServlet</display-name>
  115. <servlet-name>MSGraphAuthServlet</servlet-name>
  116. <servlet-class>com.mxgraph.online.MSGraphAuthServlet</servlet-class>
  117. </servlet>
  118. <servlet-mapping>
  119. <servlet-name>MSGraphAuthServlet</servlet-name>
  120. <url-pattern>/microsoft</url-pattern>
  121. </servlet-mapping>
  122. <servlet>
  123. <description/>
  124. <display-name>GoogleAuthServlet</display-name>
  125. <servlet-name>GoogleAuthServlet</servlet-name>
  126. <servlet-class>com.mxgraph.online.GoogleAuthServlet</servlet-class>
  127. </servlet>
  128. <servlet-mapping>
  129. <servlet-name>GoogleAuthServlet</servlet-name>
  130. <url-pattern>/google</url-pattern>
  131. </servlet-mapping>
  132. <servlet>
  133. <description/>
  134. <display-name>ConverterServlet</display-name>
  135. <servlet-name>ConverterServlet</servlet-name>
  136. <servlet-class>com.mxgraph.online.ConverterServlet</servlet-class>
  137. </servlet>
  138. <servlet-mapping>
  139. <servlet-name>ConverterServlet</servlet-name>
  140. <url-pattern>/convert</url-pattern>
  141. </servlet-mapping>
  142. <servlet>
  143. <description/>
  144. <display-name>ExportProxyServlet</display-name>
  145. <servlet-name>ExportProxyServlet</servlet-name>
  146. <servlet-class>com.mxgraph.online.ExportProxyServlet</servlet-class>
  147. </servlet>
  148. <servlet-mapping>
  149. <servlet-name>ExportProxyServlet</servlet-name>
  150. <url-pattern>/export</url-pattern>
  151. </servlet-mapping>
  152. <servlet-mapping>
  153. <servlet-name>ExportProxyServlet</servlet-name>
  154. <url-pattern>/service/*</url-pattern>
  155. </servlet-mapping>
  156. <mime-mapping>
  157. <extension>css</extension>
  158. <mime-type>text/css</mime-type>
  159. </mime-mapping>
  160. <mime-mapping>
  161. <extension>manifest</extension>
  162. <mime-type>text/cache-manifest</mime-type>
  163. </mime-mapping>
  164. </web-app>