mvc:resources无效

来源:3-5 SpringMVC配置

郁闷啊0

2017-04-30 11:23

mvc:resources无效

写回答 关注

2回答

  • Sulong
    2018-09-08 14:21:22

    <?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:mvc="http://www.springframework.org/schema/mvc"

    xsi:schemaLocation="http://www.springframework.org/schema/mvc 

    http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd 

    http://www.springframework.org/schema/beans  

    http://www.springframework.org/schema/beans/spring-beans.xsd  

    http://www.springframework.org/schema/aop

    http://www.springframework.org/schema/aop/spring-aop.xsd 

    http://www.springframework.org/schema/context  

    http://www.springframework.org/schema/context/spring-context-3.0.xsd"

    default-lazy-init = "true"> 

  • 自由的气息
    2017-05-15 12:59:00

    <beans xmlns="http://www.springframework.org/schema/beans"  
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
    xmlns:p="http://www.springframework.org/schema/p"  
    xmlns:context="http://www.springframework.org/schema/context"  
    xsi:schemaLocation="http://www.springframework.org/schema/beans  
    http://www.springframework.org/schema/beans/spring-beans-3.0.xsd  
    http://www.springframework.org/schema/context  
    http://www.springframework.org/schema/context/spring-context-3.0.xsd"> 

    加上mvc

使用SpringMVC+Spring+Hibernate开发人员信息管理功能

Java常用框架整合案例,通过本案例的学习还可以体会项目的实现流程

64947 学习 · 115 问题

查看课程

相似问题