commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicholas Paul Johnson <nickjohn...@virginia.edu>
Subject Re: java.lang.NoClassDefFoundError in FileUpload.isMultipartContent()
Date Thu, 25 Mar 2004 19:30:41 GMT
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 <nickjohnson@virginia.edu> 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


Mime
View raw message