Hi

I have several servlets with mappings such as
  /a/*
  /b/*
  /c/*
And so on.

One of these mappings was for the old Tomcat 7.0.27 websocket implementation:
  /ws/*

That worked.

Now, with the new JSR version in Tomcat 8, I cannot get this to work.
The problem is, that all of the following paths shall match:

/ws/a/b
/ws/a/c
/ws/d/e

While these would work using /ws/{one}/{two}, the folloing won't:

/ws/a/b/c
/ws/x/Y/z/a

And I cannot know in advance, how many slashed there are.
(This is for a framework, not a specific application.)

Is there any way to match those? Or to add a usual servlet mapping instead of 
an URI Template?
(Prefered prorgrammatically, not per web.xml, not per annotations.)

While I would prefer a clean solution, I am also fine with one that works in 
tomcat only (using tomcat private functions).


Best regards,
   Steffen

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to