web.xml 3.0、mybatis-config.xml 、 mapper映射配置文件头

常用SSM框架配置文件头

  • web.xml 3.0

      
    <web-app  
            version="3.0"  
            xmlns="http://java.sun.com/xml/ns/javaee"  
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
            xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
    		http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">  
       
    web-app> 
    
    
  • mybatis-config.xml

    
    DOCTYPE configuration
      PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
      "https://mybatis.org/dtd/mybatis-3-config.dtd">
    <configuration>
    
    configuration>
    
  • mapper.xml

    
    DOCTYPE mapper
      PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
      "https://mybatis.org/dtd/mybatis-3-mapper.dtd">
    <mapper>
      
    mapper>
    

你可能感兴趣的:(SSM,mybatis,前端,xml)