-
Feb 19th, 2013, 12:44 PM
#1
import resource with env setting
Hi,
I am trying to import a content.xml which contains some aspects like
<import resource="classpath:/app/#{env}/profiling.xml" />
In this case the #{env} is set from JNDI using the following
<jee:jndi-lookup id="env" jndi-name="J2EE_SYS" default-value="local"/>
Is seems that spring is trying to find the path of /app/#{env}/profiling.xml instead of
/app/local/profiling.xml.
Is there a way to create this value so that is can be aware of the #{env} setting?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules