You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2013/12/10 14:35:34 UTC
[Bug 54387] Having servlets with same url should at least cause
warning
https://issues.apache.org/bugzilla/show_bug.cgi?id=54387
Abdul Aziz <ja...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|7.0.34 |7.0.47
--- Comment #8 from Abdul Aziz <ja...@gmail.com> ---
I want to understand more..
having following configuration in deployment descriptor
<servlet>
<servlet-name>sn1</servlet-name>
<servlet-class>com.servlets.urlpatterns.Servlet1</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>sn1</servlet-name>
<url-pattern>/s</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>sn2</servlet-name>
<servlet-class>com.servlets.urlpatterns.Servlet1</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>sn2</servlet-name>
<url-pattern>/s</url-pattern>
</servlet-mapping>
why should the server startup / app deployment fail? what makes the difference?
Any how both the servlets sn1 and sn2 are referring to same Servlet1
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org