This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
The answer is simple: You can't put applet classes in WEB-INF anywhere. The servlet API calls for this directory to be invisible to the web server. Applet classes must be in a normal web directory where the browser can request them. The problem is that without an extra step, when looking at a HTML page created by a servlet, the browser will request resouces from the servlet directory. The extra step is to define a <base> tag in the head area of your html page. Use that base tag to point to resources such as class files, image files, etc. Bill