- From: Wolfgang Platzer <wplatzer@iaik.tu-graz.ac.at>
- Date: Wed, 15 Apr 1998 15:12:57 +0200
- To: "Benoit Mahe" <Benoit.Mahe@sophia.inria.fr>
- Cc: "Jigsaw Mailinglist" <www-jigsaw@w3.org>
Yes, please can you mail it to me! Maybe an archive parameter in class ServletWrapper could be very useful for distributing the servlet. For example if I write a servlet which consists of more classes I can put them into a jar file e.g. servlet.jar. In ServletWrapper I set archive: servlet.jar servlet-class: ServletMain Now the ClassLoader can take the classes out of servlet.jar and starts ServletMain. Wolfgang >-----Ursprüngliche Nachricht----- >Von: Benoit Mahe <Benoit.Mahe@sophia.inria.fr> >An: Wolfgang Platzer <wplatzer@iaik.tu-graz.ac.at> >Cc: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>; Jigsaw Mailinglist <www-jigsaw@w3.org> >Datum: Mittwoch, 15. April 1998 14:55 >Betreff: Re: Servlet Problems! > >wplatzer@iaik.tu-graz.ac.at writes: > >> In my servlet now I use a workaround: >> >> String tcs = (String)req.getAttribute("test.test_class"); >> TestClass tc = new TestClass(tcs); >> >> >> The reloading of a changed servlet works great!!! >> >> I suggest only to reload the classes in the servlets directory and NOT to >> reload classes which are defined in Jigsaw's classpath. >> >> Wolfgang >> > >Yes, but the servlet class could be in the CLASSPATH, and this seems to be >something useful for some people. For the moment I have added a boolean flag >to disable auto-reload (in Jigsaw2.0 only), do you want the new >ServletWrapper.java file? > >Benoit. > >- 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 Wednesday, 15 April 1998 09:14:57 UTC