velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Baisak, Ranjan" <>
Subject How to use bean in Velocity template, if it is defined in applicationContext.xml of WW
Date Wed, 12 Apr 2006 06:13:26 GMT
As a new to Velocity, I need to know how to use beans in velocity
template, If beans are defined in applicationContext.xml file. 
I have following definition in applicationContext.xml 
<bean id="configBean" class="com.ost.config.ConfigFactory"
singleton="true" dependency-check="none"> 
<constructor-arg index="0"> 
How can use this bean in velocity or jsp page. 

Thanks for your help.




  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message