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 On Fri, Mar 8, 2019 at 7:47 PM Raffaele Sgarro <raffaelesga...@gmail.com> wrote: > > 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 build a fat JAR and starting Tomcat in > my main() - but then I do not have any WAR/JAR because all classes are on > classpath. Is there some utility in Tomcat? Is there any external library > commonly used for this? > > Thanks, > Raffaele -- Yours Sincerely, Phumelela Mdluli Lake Forest College '15 Waterford Kamhlaba '10 '08 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org