This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Uploading a File Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Uploading a File" Watch "Uploading a File" New topic

Uploading a File

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I want to upload a file to server through Servlet and HTML.
But i can't use com.oreilly.servlet package. Is there any other way by which i can do it. I mean using JDSK or JDK API but not com.oreilly.servlet package(com.oreilly.servlet.MultipartRequest class).
Thanks in advance,
akshay mahajan

Joined: Jan 18, 2001
Posts: 10
did u getany way to do that.
i want to do that in jsp so u have ne idea
Jason Menard

Joined: Nov 09, 2000
Posts: 6450
You can try the free jspSmartUpload classes at
I agree. Here's the link:
subject: Uploading a File
Similar Threads
Application and servlet communication
download and upload.
MultipartRequest cannot be resolved to a type
why doesn't request.getParameter( "j_username" ) work?
How to send a image file to theservlet