Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 64857 invoked from network); 25 Mar 2004 19:31:39 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 25 Mar 2004 19:31:39 -0000 Received: (qmail 59589 invoked by uid 500); 25 Mar 2004 19:31:22 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 59536 invoked by uid 500); 25 Mar 2004 19:31:22 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 59472 invoked from network); 25 Mar 2004 19:31:21 -0000 Received: from unknown (HELO cms.mail.virginia.edu) (128.143.2.192) by daedalus.apache.org with SMTP; 25 Mar 2004 19:31:21 -0000 Received: from [192.168.2.105] (user245.net686.va.sprint-hsd.net [65.41.107.245]) by cms.mail.virginia.edu (Postfix) with ESMTP id 7C5541680F2 for ; Thu, 25 Mar 2004 14:31:25 -0500 (EST) Date: Thu, 25 Mar 2004 14:30:41 -0500 (EST) From: Nicholas Paul Johnson X-X-Sender: nick@localhost.localdomain To: Jakarta Commons Users List Subject: Re: java.lang.NoClassDefFoundError in FileUpload.isMultipartContent() In-Reply-To: <20040325192315.55162.qmail@web40709.mail.yahoo.com> Message-ID: X-Bugger: ANYONE BUT BUSH 2004 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Wow, Thanks a lot, worked like a charm :) -- Nicholas Paul Johnson nickjohnsonSPAM^H^H^H^H@virginia.edu http://manjac.ath.cx/nick _ ( ) ascii ribbon campaign - against html mail X - against microsoft attachments / \ http://www.google.com/search?q=ascii+ribbon -- On Thu, 25 Mar 2004, Stephen Westbom wrote: > Yes you put the FileUpload class under a classloader that doesn't see the > ServletInputStream. Get the classloader from FileUpload and look at the > classpath on it and you will see what I mean. > > Look here for the classloader hierarchy: > > http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-howto.html > > > --- Nicholas Paul Johnson wrote: > > Hello, > > > > I am using Jakarta Tomcat 5.0.9, and the most recent version of FileUpload > > (downloaded it yesterday or so). > > > > When I try to call FileUpload.isMultipartContent(request) from within a > > JSP page, where I know that request is a multipart/form-data form post, a > > java.lang.NoClassDefFoundError("javax/servlet/ServletInputStream") is > > thrown. > > > > Any suggestions? Or, does anyone know what I'm doing wrong? > > > > -- > > Nicholas Paul Johnson > > nickjohnsonSPAM^H^H^H^H@virginia.edu > > http://manjac.ath.cx/nick > > _ > > ( ) ascii ribbon campaign - against html mail > > X - against microsoft attachments > > / \ http://www.google.com/search?q=ascii+ribbon > > -- > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: commons-user-help@jakarta.apache.org > > > > > ===== > Your source for complex solutions to simple problems > > __________________________________ > Do you Yahoo!? > Yahoo! Finance Tax Center - File online. File on time. > http://taxes.yahoo.com/filing.html > > --------------------------------------------------------------------- > 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