2012/6/13 Zhi Xie <daxie...@gmail.com>:
> If I deploy a war with a web.xml like this.
>
> <?xml version="1.0" encoding="UTF-8"?>
> <web-app id="WebApp_ID" version="2.4"
>  xmlns="http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";
>  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
>  <display-name>Test WAR</display-name>
>
>  <!-- Example mapping using the default servlet -->
>  <servlet-mapping>
>    <servlet-name>default</servlet-name>
>    <url-pattern>/images/*</url-pattern>
>  </servlet-mapping>
> </web-app>
>

1. Your question is offtopic on dev@. You should ask it on users@ list.

> I want to know Tomcat how to handle it.
> 1. How to find DefaultServlet to handle this map.

2. I do not understand this question. What do you mean by "find"?

Please provide more context. What you are trying to do, as a whole?
What is your problem?

> 2. If I define my own default servlet, how tomcat assure the DefaultServlet
> don't override my own servlet.
>
> I have debugged it in Tomcat 6.0.35. But I couldn't find the answer.
>
> Could anybody give me some reference. Thank you very much.
>

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to