Say I have test bean defined in <bean id="test" class="Test"/> in applicationContext.xml. Now I'd like to access this bean in my jsp. Somehow <jsp:useBean id="test" class="Test" scope="application"/> creates new instance of Test, not using the singleton Bean test created by Spring.
How to achieve this goal?
thanks!


Reply With Quote