Re: Configuring embedded Tomcat with @WebServlet annotations

2019-03-09 Thread Raffaele Sgarro
by the compiler of the IDE to the path read by the scanner). Il sab 9 mar 2019, 20:45 Mark Thomas ha scritto: > On 08/03/2019 17:47, Raffaele Sgarro wrote: > > Hello all! How is one supposed to configure Tomcat (I'm on 9.x) to scan a > > given package looking for @WebServlet servlets? &

Re: Configuring embedded Tomcat with @WebServlet annotations

2019-03-09 Thread Raffaele Sgarro
not documented in the website. Il sab 9 mar 2019, 15:15 Phumelela Mdluli ha scritto: > Hey, > > Try reading this, I think you will be fine: > > http://tomcat.apache.org/tomcat-9.0-doc/index.html > > No one can do it for you. > > Regards, > > Phumelela > >

Configuring embedded Tomcat with @WebServlet annotations

2019-03-08 Thread Raffaele Sgarro
Hello all! How is one supposed to configure Tomcat (I'm on 9.x) to scan a given package looking for @WebServlet servlets? I cannot find any API and relevant examples in the Tomcat source. More insight: my app is currently packaged as a WAR and deployed to a running Tomcat instance. I want to