On 09/03/2019 15:01, Raffaele Sgarro wrote: > I wonder why you think I didn't read the fucking manual before posting my > question here.
While the reply to your question wasn't helpful, that does not justify the tone of your response. I'd like to remind everyone of the code of conduct: https://www.apache.org/foundation/policies/conduct.html I'd also recommend everyone (re-)reads this from time to time: http://community.apache.org/contributors/etiquette Mark > > You'd be surprised to know that I'm studying this thing since a couple of > days and my conclusion is that it's something Tomcat can't do and I'll have > to use something like Spring to achieve it. > > So no, it's not documented in the website. > > Il sab 9 mar 2019, 15:15 Phumelela Mdluli <pumi...@gmail.com> 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 >> >> 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 >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org