- From: Somchai LIMSIRORATANA <lsomchai@e7sun-1.kais.kyoto-u.ac.jp>
- Date: Thu, 23 Jul 1998 01:28:03 -0400 (EDT)
- To: www-jigsaw@w3.org
I found the DefaultCommandRegistry is not register ServletCommand yet(Jigsa w2.0beta2 source). So, I take out the comment and recompile DefaultCommandRe gistry again and add it into jigsaw.zip. Then, I try to use SSI servlet with SnoopServlet again and found. If I call with <!--#servlet name="Snoop"-->, not work. If I call with <!--#servlet name="Snoop" code="/servlets/Snoop"--> work wit h error at the console the same as last test: java.lang.NullPointerException at org.w3c.jigsaw.http.socket.SocketOutputBuffer.flush(SocketOutputBuff er.java) at java.io.DataOutputStream.flush(DataOutputStream.java) at org.w3c.jigsaw.http.Client.terminate(Client.java) at org.w3c.jigsaw.http.Client.startConnection(Client.java) at org.w3c.jigsaw.http.socket.SocketClient.run(SocketClient.java) at org.w3c.util.CachedThread.run(ThreadCache.java) Is this a bug or my recompile does not complete? I use JDK1.1.6. Somchai Re>Dear sir, Re> I use Jigsaw2.0beta2 with JDK1.1.6 on Sun. I try to use a SSI servlet co mma Re>nd but it does not work. But, if I change it to SSI include command, it w ork Re> but have an error. Re> I set the SnoopServlet to be Snoop and snoop.html. Re> Re>1.call http://localhost:8080/servlets/Snoop Re> work well. Re>2.call http://localhost:8080/servlets/snoop.html Re> work well. Re>3.insert <!--#servlet name="Snoop" code="/servlets/SnoopServlet"--> in sh tml Re> file Re> not work. no error. Re>4.insert <!--#include virtual="/servlets/snoop.html"--> Re> work. but error. Re> java.lang.NullPointerException Re> at org.w3c.jigsaw.http.socket.SocketOutputBuffer.flush(SocketOutputB uff Re>er.java) Re> at java.io.DataOutputStream.flush(DataOutputStream.java) Re> at org.w3c.jigsaw.http.Client.terminate(Client.java) Re> at org.w3c.jigsaw.http.Client.startConnection(Client.java) Re> at org.w3c.jigsaw.http.socket.SocketClient.run(SocketClient.java) Re> at org.w3c.util.CachedThread.run(ThreadCache.java) Re> Re> What's happen? Re>----------<Somchai Limsiroratana>lsomchai@e7sun-1.kais.kyoto-u.ac.jp----- ----- Re>W Agric. Process Engineering and Technology Lab. H c/o Tawa sama Re>W Dept. of Bio-production Engineering, H Tanaka-asukai-cho 60 Re>W Division of Environmental Science and Technology H Sakyo-ku, Kyoto Re>W Graduate School of Agric. Science, H 606-8226 JAPAN Re>W KYOTO UNIVERSITY, Kyoto, JAPAN 606-01 H Tel:075-703-8169 Re> Re> Re> ----------<Somchai Limsiroratana>lsomchai@e7sun-1.kais.kyoto-u.ac.jp---------- W Agric. Process Engineering and Technology Lab. H c/o Tawa sama W Dept. of Bio-production Engineering, H Tanaka-asukai-cho 60 W Division of Environmental Science and Technology H Sakyo-ku, Kyoto W Graduate School of Agric. Science, H 606-8226 JAPAN W KYOTO UNIVERSITY, Kyoto, JAPAN 606-01 H Tel:075-703-8169
Received on Thursday, 23 July 1998 03:16:27 UTC