zoukankan      html  css  js  c++  java
  • SpringMvc最全的约束——你的感冒清个人总结

    SpringMvc最全的约束——你的感冒清个人总结




    <?xml version="1.0" encoding="UTF-8"?>
    
    <beans xmlns="http://www.springframework.org/schema/beans"
    	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
    	xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx"
    	xmlns:mvc="http://www.springframework.org/schema/mvc"
    	xsi:schemaLocation="http://www.springframework.org/schema/beans
            http://www.springframework.org/schema/beans/spring-beans.xsd
            http://www.springframework.org/schema/context
            http://www.springframework.org/schema/context/spring-context.xsd
            http://www.springframework.org/schema/aop
            http://www.springframework.org/schema/aop/spring-aop.xsd
            http://www.springframework.org/schema/tx
            http://www.springframework.org/schema/tx/spring-tx.xsd
            http://www.springframework.org/schema/mvc
            http://www.springframework.org/schema/mvc/spring-mvc.xsd">
    
    <!-- 个人实现
    	必需
     -->
    	<bean class="com.shaofei.web.controller.HelloController" name="/hello.do"></bean>
    
    	<!-- 映射器(框架) 
    	可选
    	-->
    	<bean
    		class="org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping"></bean>
    
    
    	<!-- 适配器(框架)
    	可选 -->
    	<bean
    		class="org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter"></bean>
    
    
    	<!-- 视图解析器(框架)
    	可选 -->
    	<bean
    		class="org.springframework.web.servlet.view.InternalResourceViewResolver"></bean>
    
    </beans>


    
    




  • 相关阅读:
    [转]C#里 泛型Where和 new()的使用
    测试
    C#中的static、readonly与const的比较
    将字符串格式化变为两位
    在VS中对字段进行包装
    安装mysql的心得
    关于mysql数据库的乱码问题
    timestamp的两个属性:CURRENT_TIMESTAMP 和ON UPDATE CURRENT_TIMESTAMP
    解决向数据库mysql插入double数据小数点不显示问题
    JDBOOK
  • 原文地址:https://www.cnblogs.com/shaofeer/p/11154398.html
Copyright © 2011-2022 走看看