You can create directories using the java.io package. Unless you're going to
store a lot of per company info like images and such, using the getPathInfo
is the better solution. Even if you want to store per company data, you can
store all such files in one directory with ids stored in a database. So for
instance if you want to store logo.png for each company, you'll have a
directory called "logo" and a database table called logo with company id as
a key and logo id as another column. Then you can use the logo id as part of
the file name.

On 3/17/07, kace <[EMAIL PROTECTED]> wrote:


thanks Edmond, ill google for getPathInfo().  Can the directory for each
company be created on the fly?

Kace
--
View this message in context:
http://www.nabble.com/creating-user-url...-tf3417316.html#a9528021
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
"talk trash and carry a small stick."
PAUL KRUGMAN (NYT)

Reply via email to