Re: Using Embedded Tomcat with Servlet 3 Annotations

2017-02-15 Thread Boris Petrov
Hi, Thanks for the quick answer! Actually, we've been doing what you said all along (however we were doing it before with Servlets and Listeners described in web.xml and just now tried to run our code with annotations) but it still doesn't work. We're using JRuby, here's some code: tomcat = T

Re: Using Embedded Tomcat with Servlet 3 Annotations

2017-02-15 Thread Mark Thomas
On 15/02/17 15:40, Boris Petrov wrote: Hello, We are trying to run an Embedded Tomcat server (version 8.5.11) and have it process some @WebServlet and @WebListener annotations. We are using the "addContext" method of the Tomcat instance instead of the "addWebapp" because we do not want the JSP s

Using Embedded Tomcat with Servlet 3 Annotations

2017-02-15 Thread Boris Petrov
Hello, We are trying to run an Embedded Tomcat server (version 8.5.11) and have it process some @WebServlet and @WebListener annotations. We are using the "addContext" method of the Tomcat instance instead of the "addWebapp" because we do not want the JSP servlet, the default web.xml and none of t