wood burning stoves*
The moose likes JSP and the fly likes Problem uploading file togetherwith database insertion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Problem uploading file togetherwith database insertion" Watch "Problem uploading file togetherwith database insertion" New topic
Author

Problem uploading file togetherwith database insertion

AshishcKumar singh
Greenhorn

Joined: Dec 16, 2008
Posts: 9
hi all!

M having a registration form with many text fields and a 'file' field.
for uploading i've to set 'form' enctype=multipart/form-data but when i do this 'file' gets uploaded but rest of the text fields have 'null' values!!

code is as follows


-----------------adddetails.jsp-------------------------




Please help!!
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Oh no, another roseindia.net ripoff again.

Please read this:
http://www.coderanch.com/t/414163/Servlets/java/Exception-while-uploading-zip-file
http://www.coderanch.com/t/414105/Servlets/java/Upload-Download-File

Lesson learnt: do not take roseindia.net for serious. Ignore that site. Forever.
AshishcKumar singh
Greenhorn

Joined: Dec 16, 2008
Posts: 9
oh ok guys..

Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem uploading file togetherwith database insertion
 
Similar Threads
moving files over the network
Uploading file path in properties file
request cannot be resolved. any imports missing??
Large File Size Upload Problem
JSP Page For Uploading a File to Destination Folder