https://issues.apache.org/bugzilla/show_bug.cgi?id=54754
Bug ID: 54754
Summary: WebSocket endpoint servlet mappings shadowed by "/"
mapping
Product: Tomcat 8
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Currently WebSocket endpoints are mapped via Servlet mappings, which does not
appear to work if another Servlet is mapped with "/" or "/*". The root servlet
mapping in particular is very commonly preferred over mapping by prefix (e.g.
"/app/*") or by extension ("/*.do") in order to keep URLs meaningful and
without any additional path segments or extension (see for example [1]).
Replacing WsServlet with WsFilter would allow WebSocket endpoints to be mapped
to specific paths without interfering with Servlet mappings.
[1]
http://stackoverflow.com/questions/2129876/using-spring-mapping-to-root-in-web-xml-static-resources-arent-found
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]