毕业设计外文资料翻译
xmlns:aop="http://www.77cn.com.cn/schema/aop"
xmlns:tx="http://www.77cn.com.cn/schema/tx"
xsi:schemaLocation="http://www.77cn.com.cn/schema/beans
http://www.77cn.com.cn/schema/beans/spring-beans-2.5.xsd
http://www.77cn.com.cn/schema/aop
http://www.77cn.com.cn/schema/aop/spring-beans-2.5.xsd
http://www.77cn.com.cn/schema/tx
http://www.77cn.com.cn/schema/tx/spring-tx-2.5.xsd">
<bean id="superClass" class="packagename.SuperClass" />
<bean id ="subClass" class=" packagename.SubClass">
</bean>
<property name="superClass" ref="superClass"/>
</beans>
上述文件将加载superclass.java(超类)的bean和superclass.java本身,同时它还定义了参考类。
Dispatcher-servlet.xml- spring的web mvc框架是一个以请求为驱动的web mvc 框架,它是围绕一个servlet设计的,该servlet将请求转发给控制器并且为处理应用程序提供了大量的功能。DispatcherServlet与spring的应用程序上下文完全集成在一起并且允许你使用spring的功能,它是应用程序运作的中央控制单元。DispatcherServlet定义了视图解析器、bean类以及他们的在应用程序中的映射。
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns=http://www.77cn.com.cn/schema/beans
xmlns:xsi="http://www.77cn.com.cn/2001/XMLSchema-instance"
xmlns:p="http://www.77cn.com.cn/schema/p"
xmlns:aop="http://www.77cn.com.cn/schema/aop"
xmlns:tx="http://www.77cn.com.cn/schema/tx"
xsi:schemaLocation="http://www.77cn.com.cn/schema/beans
http://www.77cn.com.cn/schema/beans/spring-beans-2.5.xsd
http://www.77cn.com.cn/schema/aop
http://www.77cn.com.cn/schema/aop/spring-beans-2.5.xsd
http://www.77cn.com.cn/schema/tx
http://www.77cn.com.cn/schema/tx/spring-tx-2.5.xsd">
<beanid="viewResolver" class="org.springframework.web.servlet.view.Internal- ResourceViewResolver">
<property name="prefix">
6
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库毕业论文外文翻译-运用spring mvc框架进行快速的开源J2EE应用程(7)在线全文阅读。
相关推荐: