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

Re: servlets in package

From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
Date: Thu, 07 Jan 1999 10:31:34 +0100
Message-ID: <36947EF6.496866AD@sophia.inria.fr>
To: Kit McCormick <ktm@gims.net>
CC: www-jigsaw@w3.org, jeffrey@mindspring.com
That's a good improvment, I'll include it in the ServletIndexer.

Thank you.

Regards, Benoit.

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

--
- Benoît Mahé -------------------------------------------------------
                      World Wide Web Consortium (W3C)
                    Architecture domain - Jigsaw Team

  http://www.w3.org/People/Mahe - bmahe@w3.org - +33.4.92.38.79.89
---------------------------------------------------------------------
Received on Thursday, 7 January 1999 04:31:44 GMT

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