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

Whole process to set up Jigsaw, servlets! Corrected Version!

From: <xingli@iit.edu>
Date: Fri, 10 Aug 2001 19:23:52 -0400 (EDT)
Message-ID: <3B69B72600001AD0@students.iit.edu>
To: www-jigsaw@w3.org
For those who have problem to set up web server, servlet, please take a
look at my solution after five-hour-wondering-work:

Procedure to set up web server, servlet:
1. set up jigsaw:
  just follow the Readme.txt.
2. set up servlet:
  a. goto http://java.sun.com/products/servlet/archive.html to download
java servlet development kit(like: jsdk2_1-win.zip).
  b. install it. update computer CLASSPATH to use jsdk's server.jar, servlet.jar
(like: c:\jsdk2.1\server.jar;c:\jsdk2.1\servlet.jar)
  c. put your compiled servlet class file( say it is: HelloWorldServlet.class)
into c:\Jigsaw\Jigsaw\Www\servlet\ directory, if you dont find \servlet
directory, create it. 
  d. type sth like: http://sb112xh8:8001/servlet/HelloWorldServlet
into your browser. (Yours could like: http://your_computer_name:portnumber/servlet/HelloWorldServlet).
3. done. ;)

Something need to pay attention though:
Jigsaw and JigAdmin use seperate Threads, in my case, Jigsaw uses 8001 port,
JigAdmin uses 8009 port, so I can only use 8001 port to access my servlets.
	
If you have any comments, please let me know, you
could also check http://sb112xh8:8001/servlet/ to see my
improvement in servlet issue.


------------------------------------------------------------
Li Xing
M.S in Computer Science
Illinois Institute Of Technology
Chicago, IL 60616
www.iit.edu/~xingli
-------------------------------------------------------:)---
Received on Monday, 13 August 2001 05:26:32 GMT

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