Jason's File UploadServlet perfetly works on JWS 2.0.
... here the mail subject is something else (not File Upload)
thanks
----- Original Message -----
From: Prabhu, Deepak <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 07, 2000 9:51 PM
Subject: Re: File Upload...
> Thanks Geeta for pointing that out.I missed out the last 2 lines in his
> message.
> Vijay..are you running two different web servers on the two NT boxes?
> If you have the problem solved, could you tell us what was wrong?
>
> Thanks,
>
> Deepak
>
> -----Original Message-----
> From: Geeta Ramani [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 07, 2000 11:44 AM
> To: [EMAIL PROTECTED]
> Subject: Re: File Upload...
>
>
> Yes, I think i see what you are saying.. but I think if we examined line
538
> of
> UploadTestServlet.java, we should be able to track the object which is
> null..
> Probably the file that is being uploaded itself? Since, according to
Vijay,
> this
> servlet seems to work on another server..
>
> Geeta
>
> "Prabhu, Deepak" wrote:
>
> > Looking at the problem Geeta..with the exceptions having a top down
> approach
> > and the first line showing a NullPointerException in the doPost method,
I
> > guess one of the parameters passed to doPost is null and is not being
> > handled properly.
> > Maybe Vijay you would like to have a look at all the request parameters
> > passed to the servlet.
> >
> > Deepak
> > >
> > > > Vijay:
> > > >
> > > > What does line 538 (of UploadTestServlet.java) say?
> > > >
> > > > Geeta
> > > >
> > > > Yashaswi Bhat wrote:
> > > >
> > > > > Hi all,
> > > > >
> > > > > I am getting the following exception while trying to uload a file
> > using
> > > Jason
> > > > > Hunter's classes.
> > > > >
> > > > >
> > ************************************************************************
> > > > > java.lang.NullPointerException
> > > > > at UploadTestServlet.doPost(UploadTestServlet.java,
Compiled
> > > Code)
> > > > > at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:538)
> > > > > at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:611)
> > > > > at com.livesoftware.jrun.JRun.runServlet(JRun.java,
Compiled
> > > Code)
> > > > > at
> > > com.livesoftware.jrun.JRunGeneric.handleConnection(JRunGeneric.java)
> > > > > at
> > >
> com.livesoftware.jrun.JRunGeneric.handleProxyConnection(JRunGeneric.java)
> > > > > at
> > > > >
> > >
> >
>
com.livesoftware.jrun.service.proxy.JRunProxyServiceHandler.handleRequest(JR
> > > unProxyServiceHandler.java)
> > > > > at
> > > > >
> > >
> >
>
com.livesoftware.jrun.service.ThreadConfigHandler.run(ThreadConfigHandler.ja
> > > va,
> > > > > Compiled Code)
> > > > >
> > >
> *************************************************************************
> > > > >
> > > > > Please help asap. The same servlet is running fine on another
> machine.
> > > (Both
> > > > > these machines are NT Servers).
> > > > >
> > > > > Regards,
> > > > > Vijay.
> > > > >
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html