You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Michel Van Asten <mi...@projections.be> on 2007/04/26 09:54:01 UTC

struts Multipart

Hi,

I got a strange problem...

I got this error message When I try to do an upload in my application
any idea ?

javax.servlet.ServletException: Cannot find multipart class
"org.apache.struts.upload.CommonsMultipartRequestHandler", exception:
org.apache.struts.upload.CommonsMultipartRequestHandler
	at
org.apache.struts.util.RequestUtils.getMultipartHandler(RequestUtils.jav
a:573)
	at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:433)



Michel Van Asten


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: struts Multipart

Posted by Dave Newton <ne...@yahoo.com>.
--- Lance <la...@marketpipe.com> wrote:
> Sounds like a classpath issue to me.
> Try searching your webapp for multiple struts.jar or
> commons-fileupload.jar. 

I'd guess commons-fileupload simply isn't there.

d.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: struts Multipart

Posted by Lance <la...@marketpipe.com>.
Sounds like a classpath issue to me.
Try searching your webapp for multiple struts.jar or 
commons-fileupload.jar. Are they both in the same dir? (WEB-INF/lib 
probably)

Michel Van Asten wrote:
> Hi,
>
> I got a strange problem...
>
> I got this error message When I try to do an upload in my application
> any idea ?
>
> javax.servlet.ServletException: Cannot find multipart class
> "org.apache.struts.upload.CommonsMultipartRequestHandler", exception:
> org.apache.struts.upload.CommonsMultipartRequestHandler
> 	at
> org.apache.struts.util.RequestUtils.getMultipartHandler(RequestUtils.jav
> a:573)
> 	at
> org.apache.struts.util.RequestUtils.populate(RequestUtils.java:433)
>
>
>
> Michel Van Asten
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org