![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
框架配置文件
futao127
这个作者很懒,什么都没留下…
展开
-
spring-MVC__spring__hibernate整合值spring-MVC的配置文件(springMVC-servlet.xml)
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:xsi="http://www.w3.org/2001/XM原创 2018-05-20 15:11:47 · 201 阅读 · 0 评论 -
SSM整合shiro的web.xml配置
<?xml version="1.0" encoding="UTF-8"?><web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/n原创 2018-05-28 14:53:41 · 1740 阅读 · 0 评论 -
struts2-spring-hibernate整合之Struts2的配置文件Struts.xml
<?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN" "http://struts.apache.org/dtds/struts-2.3.dtd"><stru原创 2018-05-14 14:14:05 · 189 阅读 · 0 评论 -
struts2-spring-hibernate整合之hibernate的映射文件entity.hbm.xml
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd...原创 2018-05-14 14:08:36 · 192 阅读 · 0 评论 -
struts2-spring-hibernate整合之hibernate的配置文件hibernate.cfg.xml
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-con...原创 2018-05-14 14:05:18 · 278 阅读 · 0 评论 -
struts2-spring-hibernate整合之spring的配置文件applicationContext.xml
<?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.springframewo原创 2018-05-14 13:59:41 · 324 阅读 · 0 评论 -
spring-MVC__spring__mybatis整合值之spring的配置文件 (applicationContext.xml)
<?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.springframewo原创 2018-05-20 15:27:04 · 184 阅读 · 0 评论 -
spring-MVC__spring__mybatis整合值之mybatis 的配置文件(mybatis-config.xml)
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dtd"><configuration> &a原创 2018-05-20 15:24:55 · 590 阅读 · 0 评论 -
spring-MVC__spring__hibernate整合值之spring-MVC和spring在web.xml里的配置
<!-- 读取spring配置文件 --> <context-param> <param-name>contextConfigLocation</param-name> <param-value>classpath:applicationContext.xml</param-value> </...原创 2018-05-20 15:21:21 · 308 阅读 · 0 评论 -
spring-MVC__spring__hibernate整合值hibernate的配置文件 (hibernate.cfg.xml)
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-con...原创 2018-05-20 15:16:09 · 251 阅读 · 0 评论 -
spring-MVC__spring__hibernate整合值之spring的配置文件 (applicationContext.xml)
<?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.springframewo原创 2018-05-20 15:14:09 · 655 阅读 · 0 评论 -
根据入参通过反射获取入参字段名及对应的值
public BaseApiReturnJson CommonMethod(Dto pDto){ Field[] fields = pDto.getClass().getDeclareFields(); try{ for( int i = 0 ; i < fields.length() ; i++){ //根据入参循环取出对应类的属性名及值 ...原创 2019-03-18 11:15:27 · 2305 阅读 · 0 评论