EDMOND KEMOKAI wrote:
Why do you insist on generating static content? Write one generic 'profile.jsp', fetch user's data from a database (you already has one) and that's it. Have you measured that accessing db _really_ slows down your system? If not, so don't waste your time with unneeded optimisations.I'll probably end doing that, I understand apache is better for servingstatic content. However the problem isn't where user data is stored, my userdata 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 eventuallyinstall apache and use it to access html.
Speaking about Lucene: it's a waste of its power to index html files generated from a database. Index text data you insert into database, not the generated files.
-- Mikolaj Rydzewski <[EMAIL PROTECTED]> http://ceti.pl/~miki/ PGP KeyID: 8b12ab02 There are three kinds of people: men, women and unix.
smime.p7s
Description: S/MIME Cryptographic Signature