Re: [jervlet-patch] Make Jervlet-Jetty accept external configurations
Ryan Hoegg <[email protected]> Sun, 16 Nov 2003 13:59:32 -0600
| Newsgroups | gmane.comp.java.spice.devel |
|---|---|
| Message-ID | <[email protected]> |
peter royal wrote:
> On Nov 16, 2003, at 1:54 PM, Paul Hammant wrote:
>
>> We can email some requests for enhancement to the Jetty boys. They
>> have done it before for me, and
>> would do it again. So ..
>>
>> jetty.setJettyHome("d:\fooDir");
>>
>> .. could be one request.
>
>
> yes. i don't want to be setting system properties from inside a
> component at all. horrid ioc violation.
> -pete
I agree 100%. Johan's code set it as a matter of convenience for
existing jetty configurations who depend on it. For now, I think one
could just set the property before starting loom. Going forward, is
there a way for loom to prepare an environment for a SAR, including its
own system properties?
Of course that will be irrelevant as we begin to support other
containers. Perhaps Johan's suggestion to document the hell out of it
is the best after all :)
--
Ryan Hoegg
ISIS Networks
http://www.isisnetworks.net
-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl