Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: [joist-dev] Re: [joist-cvs] CVS update: joist/java/org/joist/publish NoodleResources.properties.in NoodleResources.properties

Project highlights: Architectural Overview

joist
Discussion topic

Back to topic list

Re: [joist-dev] Re: [joist-cvs] CVS update: joist/java/org/joist/publish NoodleResources.properties.in NoodleResources.properties

Author edk
Full name Ed Korthof
Date 2000-08-21 08:42:26 PDT
Message On Mon, 21 Aug 2000, David Pellegrini wrote:

> Hi Ed!
>
> These two properties are specified already in zone.properties.in.
>
> They are accessible to servlets (such as Noodle) through myProperties
> (e.g., myProperties.getProp​erty("__HOSTNAME__")​).
>
> Non-servlets, such as NoodleFilterLoader.java, can access these
> properties via a singleton Properties object holding site-wide
> configuration (e.g., JoistProperties.getP​roperty("__HOSTNAME_​_")).
>
> I'd like to minimize the number of .in files we need to keep track of.
> __APACHE_PORT__ and __HOSTNAME__ are so fundamental that we should
> specify them in one place (for all of the java code, anyway).

sounds good. if jon doesn't get to it first, i'll muck with noodle so it
uses this; i just wanted to get it working. ;-)
 
thanks --

ed
--
   +=-=+=-=+=-=+=-=+=-=​+=-=+=-=+=-=+=-=+=-=​+=-=+=-=+=-=+=-=
   | Ed Korthof | edk at collab dot net | 415-247-1690 |
   +=-=+=-=+=-=+=-=+=-=​+=-=+=-=+=-=+=-=+=-=​+=-=+=-=+=-=+=-=

« Previous message in topic | 2 of 2 | Next message in topic »

Messages

Show all messages in topic

Re: [joist-cvs] CVS update: joist/java/org/joist/publish NoodleResources.properties.in NoodleResources.properties David Pellegrini <davidp at collab dot net> David Pellegrini <davidp at collab dot net> 2000-08-21 01:09:10 PDT
     Re: [joist-dev] Re: [joist-cvs] CVS update: joist/java/org/joist/publish NoodleResources.properties.in NoodleResources.properties edk Ed Korthof 2000-08-21 08:42:26 PDT
Messages per page: