Hello Denis:
        As you have asked,  this is how i distribute my files. I have a
master directory where i store all the files used esclusively by the
servlets of our application. Inside in i have some directories:

*       App: Here i store classes and JAR files needed by the application.
*       Conf: Here i store ever configuration file used by Apache and JServ,
including zone.properties file. 
*       logs: Here i store every log generated by apache and JServ
*       templates: My app. uses some templates as a help to generate
response. and i store them here. I guess you could also store HTML documents
here and make your servlet display them from here.
*       web_root:  As it name implies i have Apache's DocumentRoot mapped to
this directory.

I store files this way because I have a Solaris machine running servlets,
while we user PCs for development. I have installed SAMBA 
and i only need to share a directory so i can manage my apache instalation
from my tabletop PC (and a telnet connection, of course).

Hope this can helpo you.

> -----Mensaje original-----
> De:   Denis Bucher [SMTP:[EMAIL PROTECTED]]
> Enviado el:   martes 18 de enero de 2000 2:15
> Para: Java Apache
> Asunto:       Servlets files:WHERE ??!
> 
> 
> Hello !
> 
> I was wondering where I should put files used by my servlets :
>                                          -------------------
>  - config file for my servlet
>    In the same directory as the servlets, in /servlets/file.txt ???
> 
>  - HTML documents displayed by the servlet
>    In the htdocs directory ? NO ! Because they could be displayed by
>    Apache and this shouldn't happen, so... where ?
> 
>  - files containing data, like counters, hashtable, ...
>    I suppose it's the same as config, ?
> 
> THANKS A LOT for any hint, or help :-))
> 
> I don't need perfect answer, just what *you* are doing and why :-)))
> 
> Denis
> 
> -- 
> 
> Denis Bucher,   /  [EMAIL PROTECTED]       Tél. +41-22-8000625   \  Internet
> Horus Networks /  horus-networks.com    Fax: +41-22-8000622   \  Services
>               /  http://www.horus.ch   US Fax: (508) 437-1261  \  Provider
> 
> 
> --
> ----------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]


--
----------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to