suppose the property

== PROPERTY FILE STARTS
test = ${a}${a}${a}
== PROPERTY FILE ENDS

where ${a} is not defined.

If I'm using PropertiesConfiguration.getString("test"), the exception 
"unhandled exception: infinite loop in property interpolation of
${a}${a}${a}: a->a"
is thrown.

In my application, ${a} is undefined in the first servlet call, but
defined
in the second call.

As a work around, I had to introduce some helper variables:

== PROPERTY FILE STARTS
a1 = ${a}
a2 = ${a}
a3 = ${a}
test = ${a1}${a2}${a3}
== PROPERTY FILE ENDS

Would be nice, if this could be fixed some time.

Cheers, Beat

Reply via email to