wood burning stoves 2.0*
The moose likes Servlets and the fly likes How to upload file from JSP to Servlet in Weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to upload file from JSP to Servlet in Weblogic" Watch "How to upload file from JSP to Servlet in Weblogic" New topic
Author

How to upload file from JSP to Servlet in Weblogic

Puneet Agrawal
Greenhorn

Joined: Sep 05, 2001
Posts: 3
Hi,
I am trying to upload a text file from JSP to servlet but getting error as :
<Sep 5, 2001 10:39:17 AM PDT> <Error> <NT Performance Pack> <failure in processS
ockets() - GetData: 'weblogic.socket.GetData@2c5444 - fd: '1568', numBytes: '834
''
java.lang.NullPointerException
at weblogic.socket.TunnelContext.getServlet(TunnelContext.java:24)
at weblogic.servlet.internal.MuxableSocketHTTP.dispatch(MuxableSocketHTT
P.java:465)
at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:638)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:
23)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
<Sep 5, 2001 10:39:17 AM PDT> <Error> <HTTP> <Connection failure
java.lang.NullPointerException
at weblogic.socket.TunnelContext.getServlet(TunnelContext.java:24)
at weblogic.servlet.internal.MuxableSocketHTTP.dispatch(MuxableSocketHTT
P.java:465)
at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:638)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:
23)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

I am using weblogic 6.0 sp1 . The jsp form element has the attribute enctype="multipart/form-data" for sending file data.
Any help will be highly appriciated.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to upload file from JSP to Servlet in Weblogic
 
Similar Threads
JSP, Servlets, File Uploads & Weblogic -- Garbeling files.
anyone help me?
error in uploading file
Help Please...unable to start the managed server
Iplanet and WL