I have a webapplication. My boss wants there to be a 'help-button', which
downloads a helpfile, a word-document. The document is called HandbokST.doc
and is in a dictionary called silber in my htdocs. I run it on a computer
that we internally call silber5 with Jrun 2.3.3, using JRun's webserver. So
I call for 
http://silber5/silber/HandbokST.doc
and I know that the address is right, for I browsed there and when I asked
for a jpg I got that one without problem, but when I try for the doc all I
get is a nullpointerexception. Is this a wrong way of trying to download a
document? I'm not all that good on things like this... Do I have to do
something in JRun webserver?

Tue Oct 16 17:07:32 GMT+02:00 2001: Running servlet
{ (Running servlet) java.lang.NullPointerException: 
        at java.io.OutputStream.write(Unknown Source)
        at
com.livesoftware.servlets.file.FileServlet.serveFileContents(FileServlet.jav
a:291)
        at
com.livesoftware.servlets.file.FileServlet.serveFile(FileServlet.java,
Compiled Code)
        at
com.livesoftware.servlets.file.FileServlet.service(FileServlet.java:167)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
        at com.livesoftware.jrun.JRun.runServlet(JRun.java, Compiled Code)
        at
com.livesoftware.jrun.JRunGeneric.handleConnection(JRunGeneric.java:116)
        at
com.livesoftware.jrun.service.web.JRunWebServiceHandler.handleOutput(JRunWeb
ServiceHandler.java:266)
        at
com.livesoftware.jrun.service.web.JRunWebServiceHandler.handleRequest(JRunWe
bServiceHandler.java, Compiled Code)
        at
com.livesoftware.jrun.service.ThreadConfigHandler.run(ThreadConfigHandler.ja
va, Compiled Code)
 }

All the best,

Anne-Li Mell
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to