This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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

Win a copy of Head First Android this week in the Android forum!
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: 63052

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:
subject: uploading of files from html to server
It's not a secret anymore!