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 > > -- View this message in context: http://www.nabble.com/ClassCastException%3AMultipartRequestWrapper-tp19137444p19203669.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]