java - How tomcat is able to locate a class that is not part of any of the jars in app libs -


In our application (applet) I want to enable the necessary functionality if one of the required jars has been found. I do not want to add this jar applet reference to avoid the download size.

I am using one with class for class, to check whether the available special is available. Class in local machine. Forla calls again on the call, although the jar is not in any square path.

Can someone explain the Tomcat class discovery mechanism.

applets run on the client side (in user's browser) not on the tomcat web server, so it is related to tomc is not.

How would you like to check the work of applet classloaders?

Normally they will attempt to download the class from the web server under the same URL because the applet was brought from. So if applet is on and square foo.bar.MyClass is required, then it will attempt to download it if it is not locally found.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -