On 27 April 2011 18:02,  <robert.jen...@surecomp.com> wrote:
>
>  <servlet-mapping>
>    <servlet-name>InitServlet</servlet-name>
>    <url-pattern>/</url-pattern>
>  </servlet-mapping>
>
> If I understand spec correctly and this being the only mapping, it will 
> become the default and all requests will be routed to the servlet.

No - I think it would have to be /*

> I also have a bunch of web services which when called do not route to the 
> servlet. My question; is there something like the idea of serlvet for web 
> services that will route all requests into a common location and from there 
> let the application farm it out to the correct web service.  The reason I ask 
> is I like to isolate some security and business logic in to one location and 
> have that entered first by the web service call and then pass along to 
> correct service.

Yes, you could write a handler which accepted all requests, and then
farmed them all out internally based on whatever rules you wrote in
the handler?

C

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

Reply via email to