I'll probably end doing that, I understand apache is better for serving static content. However the problem isn't where user data is stored, my user data is stored in a database. Basically my app is similar to a dating site(it is not a dating site) where a user's profile doesn't chnage regularly so there is no reason to use jsp for accessing such a page, secondly, I am using lucene which can't search jsp directly. I'll eventually install apache and use it to access html.
On 10/23/06, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote:
EDMOND KEMOKAI wrote: > what's crazy about it??, the site I am creating will contain user > generated > content, however the content isn't going to be changing frequently so i > didn't want to have jsp's hold objects in memory for pages that aren't > chnaging too often. I have the user publish their info whenever they make > changes to it. I'd use a database to store user submitted data. Or I'd use a separate directory to write files in. Separate - I mean outside tomcat's webapps directory. In my projects I deploy webapps only as war files and I never write anything within app's directory. -- Mikolaj Rydzewski <[EMAIL PROTECTED]> http://ceti.pl/~miki/ PGP KeyID: 8b12ab02 There are three kinds of people: men, women and unix.
-- "talk trash and carry a small stick." PAUL KRUGMAN (NYT)