W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 1998

SSI servlet command does not work

From: Somchai LIMSIRORATANA <lsomchai@e7sun-1.kais.kyoto-u.ac.jp>
Date: Mon, 20 Jul 1998 04:53:45 -0400 (EDT)
Message-Id: <199807200838.RAA19353@e7sun-1.kais.kyoto-u.ac.jp>
To: www-jigsaw@w3.org
Dear sir,
	I use Jigsaw2.0beta2 with JDK1.1.6 on Sun. I try to use a SSI servlet comma
nd but it does not work. But, if I change it to SSI include command, it work
 but have an error.
	I set the SnoopServlet to be Snoop and snoop.html.

1.call http://localhost:8080/servlets/Snoop
   work well.
2.call http://localhost:8080/servlets/snoop.html
   work well.
3.insert <!--#servlet name="Snoop" code="/servlets/SnoopServlet"--> in shtml
 file
   not work. no error.
4.insert <!--#include virtual="/servlets/snoop.html"--> 
   work. but error.
   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) 
	
	What's happen?
----------<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 Monday, 20 July 1998 04:55:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:27 GMT