wood burning stoves 2.0*
The moose likes Servlets and the fly likes uploading of files from html to server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "uploading of files from html to server" Watch "uploading of files from html to server" New topic
Author

uploading of files from html to server

Debashish Bhattacharjee
Greenhorn

Joined: Aug 04, 2008
Posts: 1
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

Joined: Jan 10, 2002
Posts: 60780
    
  65

There is a FAQ entry in the JSP FAQ on this subject. See the top of the JSP forum for a link.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: uploading of files from html to server
 
Similar Threads
Can't get RequestDispatcher forward() method or response.sendRedirect() to work
Starting out on Servlets - from Head First Servlets and JSP
really simple servlets,but why second one not work
Tomcat problem
Http 404 Error