you can download the "com" package from the Oreilly's site.Oreilly's "Java
Servlet Programming" has code for Upload Servlet which has some error that has been rectified by this bunch of classes packaged under com package.It has main "MultipartRequest" class in which you set enctype="multipart/form-data" which is used for uploading files.