JSF properties file

Using JSF and JSTL, i am trying to use a properties file, to import an xml file.

PROPERTIES FILE:

name > messages.properties

content > url=/home/index.xml

JSP FILE:

<f:loadBundle basename="jsfks.bundle.messages" var="msg"/>

<h:outputText value="#{msg.url}"/>

<c:import url="#{msg.url}" var="xmlSource" />

<x:parse xml="${xmlSource}" var="xmlDocument" />

The outputText works, it does display my URL, but the c:import dont work.

I want to value that is in my properties file, to be imported i.e

<c:import url="/home/index.xml" var="xmlSource" />

how can i do this using the above method?

Thanks

[717 byte] By [ITBoy2a] at [2007-11-27 5:06:39]
# 1
Like I said here http://forum.java.sun.com/thread.jspa?threadID=5175073Your approach won't work as the value is completely out of the scope.Load it manually in the same scope, using java.util.ResourceBundle for example.
BalusCa at 2007-7-12 10:25:28 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...