File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

uploading of files from html to server

 
Debashish Bhattacharjee
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all.I am making a small application where in a user can upload his/her file into the server.The pages generated in this are from servlets(dont scold :-).I have got 2 servelts in the application.I am pasting my code.Please suggest if anyone can help...
First Servlet

Code for Second Servlet

Everthing is working except that..the file selected from the html doesn't seem to reach the servlet.Pleaseeeeeeee help....

web xml code..(not taking any chances...)


[ August 04, 2008: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64181
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a FAQ entry in the JSP FAQ on this subject. See the top of the JSP forum for a link.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic