chinmaya mishra wrote:I have a web application which will uoload the file into data base(oracle).
i have html file to browse file as "upload.html"
Can any body help me in this regard?
can somebody send me the servlet code for the same?
Ulf Dittmer wrote:What do you mean by "upload to the database"? Do you wish to store the bytes that make up the file in a binary field in the database? If so, you can use an attribute of type BLOB.
Servlets can handle file uploads by way of the Apache Commons FileUpload library.