I had to do something like that myself. Here's a little method that creates a folderpath for each unique session.
public File getTempDir(HttpSession hsess) { String path = hsess.getServletContext().getRealPath("/"); // "/" context root of the application return new File(path, hsess.getId()); } Hope this gets you started. - Peter -- View this message in context: http://www.nabble.com/File-system-resource-for-static-content-tp20999639p21004662.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org