You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Ignacio J. Ortega" <na...@siapi.es> on 2002/04/19 20:44:19 UTC
[JK2] Reading arbitrary properties files
Hola a Todos:
How can i use jk2 to read and parse an arbitrary properties file?
Saludos ,
Ignacio J. Ortega
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [JK2] Reading arbitrary properties files
Posted by co...@covalent.net.
On Fri, 19 Apr 2002, Ignacio J. Ortega wrote:
> Hola a Todos:
>
> How can i use jk2 to read and parse an arbitrary properties file?
jk2_config_read()
It'll read the properties into the jk_map ( without doing the ${}
substitution ! - you must do it after you read ).
The only 'special' thing about the format is that it'll read
[foo] sections and append it as a prefix to all following properties:
[foo]
a=b
c=d
is equivalent with:
foo.a=b
foo.c=d
Costin
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>