Weird problem here. Any help or suggestions would be greatly appreciated. This is slightly off-topic, but is still relevant to Tomcat users.
I have a large package of Java classes, which contains half a dozen subclasses, each with several classes. Total class count is about 150. I have Apache linked to Tomcat 4.0.3 using mod_webapp, serving my web application. The application consists entirely of JSP pages -- no servlets. I'm running RedHat 7.3. Some site functionality is also accessible through a couple of applets, which allow a more "live" interface when quick interaction is necessary. The applets and JSP pages make use of many of the same classes. So, I need to make the class files available via HTTP, so that the applets can access them. I could do this with a JAR file, but I'd rather not, because then the applet clients would end up downloading many classes that they won't need. I like the dynamic approach of allowing the applet to selectively download only the classes it needs, and as far as I know, applets have no way of doing that with JAR files. However, I'd like to hide my class files, so that a user can't download them and keep them on his computer. I have a level of security by obscurity here, as the classes are in a directory that nothing ever links to. However, anyone could look at the source to one of the applet pages and easily find this directory. Am I missing a possibility here? Does anyone have an idea? I also would like to disable directory index listings in this hidden folder -- how do I do that? I didn't find it in the Tomcat documentation, and since I'm using mod_webapp, I can't do it in Apache. -Jake --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
