Commit 4b9f2ef9 authored by Liang Ding's avatar Liang Ding

Latke Request Processors 扫描改进配合

https://github.com/b3log/b3log-latke/issues/17
parent a6d33b2c
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- <!--
Description: B3log Solo BAE POM. Description: B3log Solo BAE POM.
Version: 1.0.1.1, Nov 21, 2012 Version: 1.0.1.2, Jan 15, 2013
Author: Liang Ding Author: Liang Ding
--> -->
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0"
...@@ -36,6 +36,11 @@ ...@@ -36,6 +36,11 @@
<artifactId>mail</artifactId> <artifactId>mail</artifactId>
<groupId>javax.mail</groupId> <groupId>javax.mail</groupId>
</exclusion> </exclusion>
<!-- GAE container is not JBoss -->
<exclusion>
<groupId>org.jboss</groupId>
<artifactId>jboss-vfs</artifactId>
</exclusion>
<!-- Database Connections Pool for local--> <!-- Database Connections Pool for local-->
<exclusion> <exclusion>
<groupId>com.jolbox</groupId> <groupId>com.jolbox</groupId>
......
...@@ -56,6 +56,11 @@ ...@@ -56,6 +56,11 @@
<groupId>c3p0</groupId> <groupId>c3p0</groupId>
<artifactId>c3p0</artifactId> <artifactId>c3p0</artifactId>
</exclusion> </exclusion>
<!-- GAE container is not JBoss -->
<exclusion>
<groupId>org.jboss</groupId>
<artifactId>jboss-vfs</artifactId>
</exclusion>
<!-- Container provided --> <!-- Container provided -->
<exclusion> <exclusion>
<groupId>javax.servlet</groupId> <groupId>javax.servlet</groupId>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
--> -->
<!-- <!--
Description: B3log Solo web deployment descriptor. Description: B3log Solo web deployment descriptor.
Version: 1.0.4.9, Aug 10, 2012 Version: 1.0.4.10, Jan 15, 2013
Author: Liang Ding Author: Liang Ding
--> -->
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
...@@ -100,6 +100,13 @@ ...@@ -100,6 +100,13 @@
<servlet-name>HTTPRequestDispatcher</servlet-name> <servlet-name>HTTPRequestDispatcher</servlet-name>
<servlet-class>org.b3log.latke.servlet.HTTPRequestDispatcher</servlet-class> <servlet-class>org.b3log.latke.servlet.HTTPRequestDispatcher</servlet-class>
<load-on-startup>2</load-on-startup> <load-on-startup>2</load-on-startup>
<!-- Latke Request Processors Scan -->
<!-- See https://github.com/b3log/b3log-latke/issues/17 for more details -->
<init-param>
<param-name>scanPath</param-name>
<param-value>org.b3log</param-value>
</init-param>
</servlet> </servlet>
<servlet-mapping> <servlet-mapping>
<servlet-name>HTTPRequestDispatcher</servlet-name> <servlet-name>HTTPRequestDispatcher</servlet-name>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment