It's generally a good idea, if you don't get a response to a question, to try providing addition information. For example, where the exception is being thrown, the full stack trace, exactly what you did to get it, etc. The information you've provided so far really isn't enough to diagnose the problem.

L.

sunilmitta wrote:
Can anyone please help me with this?

Thanks and regards.
Sunil


sunilmitta wrote:
Hi all,

I know that this is an old problem but i couldnt get the solution
anywhere.It would be good if you could direct me one.
I get the
ClassCastException(ClassCastException:org.apache.struts.upload.MultipartRequestWrapper)
when i try to forward the a Multipart form request(I use this to upload
file).
I understand that the request in no more a normal httpServletRequest but
is wrapped using multipartRequestWrapper.
I have tried the below but it doesnt help.

// Unwrap the multipart request, if there is one. if (request instanceof MultipartRequestWrapper) { request = ((MultipartRequestWrapper) request).getRequest(); }
I am using struts 1.1 as i am supposed to it, not a higher version.

Thanks and regards,
Sunil





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to