dcsimg
what is java.rmi.MarsihalException ?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   owais_ali
Posted On:   Friday, March 22, 2002 02:03 PM

i am calling my EJB method " transfer(request,destination) " from inside JSP page. " request " is a HttpServletRequest object " destiation " is a string it is throwing following exceptions..... java.rmi.MarshalException : failed to marshal public abstract void project.upload.Copy.transf er(javax.servlet.http.HttpServletRequest,java.lang.String) throws java.rmi.RemoteException,j ava.io.IOException; nested exception is: java.io.NotSerializableException: weblogic.servlet.internal.ServletRequestImpl java.io.NotSerializableException: weblogic.servlet.internal.ServletRequestImpl    More>>

i am calling my EJB method " transfer(request,destination) " from inside JSP page.



" request " is a HttpServletRequest object

" destiation " is a string



it is throwing following exceptions.....



java.rmi.MarshalException : failed to marshal public abstract void project.upload.Copy.transf
er(javax.servlet.http.HttpServletRequest,java.lang.String) throws java.rmi.RemoteException,j
ava.io.IOException;
nested exception is: java.io.NotSerializableException: weblogic.servlet.internal.ServletRequestImpl
java.io.NotSerializableException: weblogic.servlet.internal.ServletRequestImpl






actually i am trying to uplaod files and in JSP i use tag to select a file inside a form.the logic is this that request object also have the file stream and using

ServletInputStream in = request.getInputStream();



i can get the file stream and then save this stream in a new file




Why it is giving exception and any other way to upload files?



Thanks for THIS....

   <<Less

Re: what is java.rmi.MarsihalException ?

Posted By:   AlessandroA_Garbagnati  
Posted On:   Saturday, March 23, 2002 04:15 PM

Hi,

Please, do not post the same question twice: http://www.jguru.com/forums/view.jsp?EID=808791
About | Sitemap | Contact