This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills: The software developer's life manual and have John Sonmez on-line!
See this thread for details.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem uploading file togetherwith database insertion

 
AshishcKumar singh
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2458
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oh ok guys..

Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic