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
----------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any
accompanying attachment(s) is intended only for the use of the intended
recipient and may be confidential and/or privileged of Neusoft Group Ltd., its
subsidiaries and/or its affiliates. If any reader of this communication is not
the intended recipient, unauthorized use, forwarding, printing, storing,
disclosure or copying is strictly prohibited, and may be unlawful. If you have
received this communication in error, please immediately notify the sender by
return e-mail, and delete the original message and all copies from your system.
Thank you.
-----------------------------------------------------------------------------------------------