File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes WEB-INF directory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "WEB-INF directory" Watch "WEB-INF directory" New topic
Author

WEB-INF directory

Nelson Nadal
Ranch Hand

Joined: Jun 06, 2002
Posts: 169
Is it ok to put an applet class inside WEB-INF directory. I have an applet that reads data. That data shld be in safe directory, since WEB-INF is a safe directory Im planning to put there the data.
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

The class for the applet must be downloaded to the client and run there. So I think the answer is *no*.

Because browsers cannot obtain direct access to anything under the WEB-INF directory. The applet's class files, jarred or not, should be accessible by an HTTP request.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WEB-INF directory
 
Similar Threads
log files
Is it possible to hide JSPs from users?
Unable to compile class for JSP
Problem with struts in fedora 4
Problem in comiling jsp ..