Re: servlets in package

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 UTC