• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Uploading a file through the browser

 
Satyavrat Bondre
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Completely clueless about this. I have to upload a file from the machine of any guy accessing my jsp page. It has to be uploaded to the server and then i have to kick off a process that will insert the data in the file into a database. I know how to do the second part (in fact, i have done it). I am completely clueless about the first part.
Thanks a lot for your responses in advance.
 
harilal ithikkat
Ranch Hand
Posts: 221
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
file upload using java
 
Satyavrat Bondre
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks a lot for your quick reply.
terribly sorry, but that is a little too complicated for me. is there a simpler way to do this?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is an entry in the JspFaq on file uploading.

Here.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
harilal ithikkat wrote:file upload using java


Horrible, horrible!!! Using a JSP with scriptlets for file uploading? In 2011?

Please pretend that you never saw this link!

Horrible!
 
Satyavrat Bondre
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@Bear : Thanks, this seems simple enough. I'll try this and get back to the forum asap
 
harilal ithikkat
Ranch Hand
Posts: 221
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm sorry man..i thought he was trying his hand with simple JSP...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic