Answer the question
In order to leave comments, you need to log in
Is it possible to get the java.util.Property element in web.xml using jndi?
If desired, we can get some jndi resource in web.xml with a construction of the form
<resource-ref>
<res-ref-name>resourceName</res-ref-name>
<res-type>java.lang.String</res-type>
<lookup-name>resourceName</lookup-name>
</resource-ref>
<resource-ref>
<res-ref-name>resource/javaProperty</res-ref-name>
<res-type>java.lang.String</res-type>
<lookup-name>resource/javaProperty/myPropertyName</lookup-name>
</resource-ref>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question