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

uploading of files from html to server

Debashish Bhattacharjee

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

Joined: Jan 10, 2002
Posts: 63865

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] [About Bear] [Books by Bear]
wood burning stoves
subject: uploading of files from html to server
It's not a secret anymore!