Hello,

Use database with blob for that ... how many files can you keep in your
directory ??? Some systems that claim to be enterprise still have problems
with many files due to file-system limitations.

Besides, it's much more simple to do it that way, you have to access
database anyway to verify the user/password combination, so why streams when
you have blobs. Of course it also has it's drawbacks but you know how it is,
you win some, you loose some ...

Dragomir Milivojevic

> I have a servlet that reads files from a server and displays the info in
> HTML format.  In your opinion, what is the best way to display different
> info based on the user-login?  For example, if I log in, the servlet reads
> from myfile.txt, but if you logged in it would read and display
> the info in
> yourfile.txt.  Any suggestions???

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to