5
J'ai configuré un haricot comme ça et je forum.host.url dans le fichier correctementSpring - Accès aux haricots en JSP
<bean id="forum_host_url" class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiName" value="forum.host.url"/>
<property name="resourceRef" value="true"/>
</bean>
je dois accéder à cette valeur de haricot d'une JSP, j'ai essayé
${forum_host_url}
dans mon fichier jsp mais il n'a aucune valeur. Quelle est la bonne façon?