This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Servlets and the fly likes WEB-INF directory Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: WEB-INF directory
 
Similar Threads
log files
Problem with struts in fedora 4
Problem in comiling jsp ..
Is it possible to hide JSPs from users?
Unable to compile class for JSP