hi,mr yang

for the question 2

2:when a user enter the /servlet/my , is his mm7DeliverReq under the filter of 
the appfuse?

i think this do under the filter of the appfuse.

u can communication with on QQ:308637147



oliver.lee
2008-06-12



发件人: 杨军朝
发送时间: 2008-06-03 10:44:36
收件人: [email protected]
抄送: 
主题: [appfuse-user] about the filter of appfuse

Hi all:
    
    i use the appuse to develop a new project. but there is a problem.

    i use a jar in my project, then like this[in pom.xml]

         <dependency>
            <groupId>com.cmcc</groupId>
            <artifactId>mm7</artifactId>
            <version>1.0</version>
        </dependency>

    there is a class named MM7ReceiveServlet extends HttpServlet, then i create 
a class named MyMM7ReceiveServlet extends MM7ReceiveServlet.

then i override the method doDevliver(MM7DeliverReq mm7DeliverReq) of 
MM7ReceiveServlet class.

    so the problem is coming.

    1:how can i config the web.xml then make the  MyMM7ReceiveServlet is ok( i 
mean it can called by mm7DeliverReq from other host). 
        like this(add the following into web.xml ) ?
            
    <servlet>
        <servlet-name>myservlet</servlet-name>
        <servlet-class>com.sxy.servlet.MyMM7ReceiveServlet</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>myservlet</servlet-name>
        <url-pattern>/servlet/my</url-pattern>
    </servlet-mapping>

   2:when a user enter the /servlet/my , is his mm7DeliverReq under the filter 
of the appfuse?





PS: i come from china , then my english is very poor. thanks. 

B&F

Reply via email to