Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 54042 invoked from network); 16 Nov 2006 12:08:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Nov 2006 12:08:18 -0000 Received: (qmail 12883 invoked by uid 500); 16 Nov 2006 12:08:22 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 12818 invoked by uid 500); 16 Nov 2006 12:08:21 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 12807 invoked by uid 99); 16 Nov 2006 12:08:21 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Nov 2006 04:08:21 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of amitnjha@gmail.com designates 66.249.82.227 as permitted sender) Received: from [66.249.82.227] (HELO wx-out-0506.google.com) (66.249.82.227) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Nov 2006 04:08:06 -0800 Received: by wx-out-0506.google.com with SMTP id h29so566978wxd for ; Thu, 16 Nov 2006 04:07:46 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Hoh9Y72QdKNdYVrpYxOB3vM6oob6d9yrrvbOjFozmfCu3jMdMEwAh1OL/msxtEmFfM4OKWPrHiZbx/Avb9bckdczRh8wt7n/8e2uKuhTy44eCUUe8zXIP0JvD5xFr8fLymTQT6UvY5l2utf487jyyOX4y4yeVB/qLebK32H9mhU= Received: by 10.70.56.4 with SMTP id e4mr637253wxa.1163678865818; Thu, 16 Nov 2006 04:07:45 -0800 (PST) Received: by 10.70.45.3 with HTTP; Thu, 16 Nov 2006 04:07:45 -0800 (PST) Message-ID: <2371457d0611160407n514d0188l7894d97b9ffaa6f2@mail.gmail.com> Date: Thu, 16 Nov 2006 14:07:45 +0200 From: "Amit Jha" To: "Jakarta Commons Users List" Subject: Re: How to add commons:fileupload to tomcat In-Reply-To: <455C528B.7060106@linpro.no> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_61623_17265787.1163678865310" References: <455C4D14.3000509@linpro.no> <2371457d0611160357s10c51a66t3c8f042b95f51a23@mail.gmail.com> <455C528B.7060106@linpro.no> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_61623_17265787.1163678865310 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline The package is org.apache.commons.fileupload.disk On 11/16/06, Shervin Asgari wrote: > > So what can I do? > > Shervin Asgari > > > Amit Jha wrote: > > I think DiskFileItemFactory is not there in the jar you have(might be > the > > older one). > > I was facing the same problem and when I started using common-fileupload > > that comes with struts 1.3.5 things were fine. > > > > Regards, > > Amit > > > > On 11/16/06, Shervin Asgari wrote: > >> > >> Hello. I have added the commons-fileupload-1.1.1.jar to my WEB-INF/lib > >> directory, and I have also included the same jar file in my > >> webapp.jarfile. > >> > >> But still I seem to have problem using it. I keep getting : > >> > >> DiskFileItemFactory cannot be resolved to a type > >> > >> > >> I have also tried other classes and get the same error. I have included > >> > >> <%@ page import="org.apache.commons.fileupload.*"%> > >> > >> <%@ page import="org.apache.commons.fileupload.servlet.*"%> > >> > >> <%@ page import="org.apache.commons.fileupload.portlet.*"%> > >> > >> <%@ page import="org.apache.commons.collections.*"%> > >> > >> But this doesnt seem to help. Please help. > >> > >> Shervin Asgari > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org > >> For additional commands, e-mail: commons-user-help@jakarta.apache.org > >> > >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-user-help@jakarta.apache.org > > ------=_Part_61623_17265787.1163678865310--