W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 1999

servlets in package

From: Kit McCormick <ktm@gims.net>
Date: Wed, 6 Jan 1999 16:04:11 -0500 (EST)
To: www-jigsaw@w3.org
cc: jeffrey@mindspring.com
Message-ID: <Pine.LNX.3.96.990106150556.8124B-100000@george>

i have a servlet-based application and i am test-driving jigsaw.
my servlets are organized into packages
(eg: com.gims.webmart.front.VendorCatalog) 

In order to load these classes, I had to change a bit of code in
ServletIndexer.java (jigsaw v2.0.0, btw).

starting at line 147 (in createVirtualResource(...)):

char fileSeparatorChar = File.separatorChar;
String sname = name.replace('.', fileSeparatorChar)+".class";

Now all is well, and I really love this server.


Thanks.
Kit McCormick
Received on Wednesday, 6 January 1999 16:54:33 GMT

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