In my JSP I have this:

code:
-------------------------------------------------------

     <input type="file" name="filename">

-------------------------------------------------------

for visitors of the web page to browse their PCs'
directories to select a file to upload (when the
Submit button is clicked).  The files can be .doc,
.txt, .pdf, .jpg, ..., etc.  However, I do not have to
convert files into certain format.  I simply retrieve
them from clients' machine and store them into a
database.  Later on, clients can ask to view those
files in their original format.

What appears in the text field:

    <input type="file" name="filename">

will be a file name. How do I get both the file name
and the content of that file to be saved in the
database? 


                
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to