0 Replies Latest reply on Apr 6, 2005 3:38 PM by Brian Pittman

    user directories

    Brian Pittman Newbie

      Is there a standard way to do user directories. I am working on a web application that will allow users to upload files and stuff like that... into their own directories they will be viewing these files using a url like this:

      site.com/userfiles/username/user-created-file.html
      or
      site.com/~username/user-created-file.html

      something like that.

      Is there a standard way to do this on jboss/tomcat? I do not want to put these files in the deploy directory, and I would rather not have jboss deploy each and every directory whenever it starts up.. I noticed this happening when I tried using:

      <Listener className="org.apache.catalina.startup.UserConfig"
       directoryName="." homeBase="c:\userdata"
       userClass="org.apache.catalina.startup.HomesUserDatabase"/>

      in the tocmat server.xml file

      thanks!
      Brian