L
laredotornado
Hi,
Just as a Properties file is able to load in properties via an
InputStream, I was wondering if InitialDirContext could load up
environment entries from an XML file, specifically, one where the
properties are stored like so ...
<env-entry>
<env-entry-
name>myco.galc.capitol.tours.email.notification.subject</env-entry-
name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>%s Capitol Tour Request</env-entry-value>
</env-entry>
I couldn't find anything in the API so wondered if there was a more
creative way to do it. Thanks, - Dave
Just as a Properties file is able to load in properties via an
InputStream, I was wondering if InitialDirContext could load up
environment entries from an XML file, specifically, one where the
properties are stored like so ...
<env-entry>
<env-entry-
name>myco.galc.capitol.tours.email.notification.subject</env-entry-
name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>%s Capitol Tour Request</env-entry-value>
</env-entry>
I couldn't find anything in the API so wondered if there was a more
creative way to do it. Thanks, - Dave