On 28.12.21 00:36, Chew Kok Hoor wrote: > We're using the old javax.servlet namespace for compatibility reasons. > > Some of our jar files are re-used by different web-apps, therefore we > placed them in the common classloader. > > Is it possible to convert them dynamically, just like how we do it for > servlets in the per app WEB-INF folder, by using the following in the > context file: > > <Loader jakartaConverter="TOMCAT" />
On top of what's already discussed: You're not giving any indication that you need jakarta-ee at all, so if you use javax.servlet: Just do it, and deploy on Tomcat 9 - that's a very good choice that won't go away any time soon. If there's no need for Tomcat 10, save yourself the hassle - at least for now. Later on, you might want to divide your webapps into two groups: Those that don't require any compatibility handling, because they're fully migrated (or automatically migratable) to jakarta-ee, and those that don't. Easy setup with a reverse proxy sending the traffic to either of the two (or multiple) backends. Olaf --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org