-
May 21st, 2007, 01:00 PM
#1
<context-param>contextConfigLocation in web.xml
I saw a section in web.xml
<context-param>
<description>
WebFlow context configuration</description>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/test-context.xml</param-value>
</context-param>
Now the test-context.xml:
<beans>
<bean id="test" class="com.test.project.Test">
<constructor-arg value="java:com/env/jdbc/test
<constructor-arg>
<bean class="com.test.security.User">
<property name="userID" value="0" />
</bean>
</constructor-arg>
</bean>
</beans>
My questions are:
1) "Who" (which class) will use the param-name:contextConfigLocation?
2) "Who" and how to get the id("test") in the application?
3) How to get the bean class User and userID?
Thanks
Scott
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules