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.

Kit McCormick
Received on Wednesday, 6 January 1999 16:54:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:33 UTC