--- Begin Message ---Hi Mohammad, Try this, may be this helps.DiskFileUpload fu = new DiskFileUpload(); fu.setSizeMax(1000000); List fileItems = fu.parseRequest(request); Iterator itr = fileItems.iterator(); { FileItem fi = (FileItem)itr.next(); if(!fi.isFormField()) { File tempFileRef = new File(fi.getName()); File fNew = new File("C:/files/",tempFileRef.getName()); fi.write(fNew); } else { System.out.println("Field ="+fi.getFieldName()); } } Regards, Kam ________________________________ From: Mohammed Yousuff [mailto:[EMAIL PROTECTED] Sent: Thu 3/23/2006 7:37 PM To: jetspeed-dev@portals.apache.org Subject: Steps in FileUpload Using JetSpeed 1.6 Hi This is Mohammad from India,i am using JetSpeed in our Project for Building Portal. Right now i am facing Problem in UPLOADING THE FILES. i tried with normal Filing loading with Servelts using API In the net(import http.utils.multipartrequest.MultipartRequest;) It working Perfectly in Servelts but, when i join this with Jetspeed it not working. i like to know what all the Steps has to be followed when we Upload using JetSpeed . If u know any URL which will give any idea plz let me know Thank You<<winmail.dat>>
--- End Message ---
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]