Re: servlets in package

Kit McCormick wrote:

> 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

Why don'tyou jar the classes into a JAR file.

--
___________________________________________________________________________

S.Ramaswamy
Matrix Infotech Syndicate
D-7, Poorti, Vikaspuri, New Delhi, 110018, India
PHONE: +91-11-5610050,   FAX: +91-11-5535103
WEB  :   http://MatrixInfotech.HyperMart.Net

Received on Thursday, 7 January 1999 04:04:58 UTC