智能组卷考试系统案例
<?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:mvc="http://www.springframework.org/schema/mvc"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-4.3.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-4.3.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-4.3.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-4.3.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-4.3.xsd">
<!-- 配置处理器映射器 -->
<context:component-scan base-package="com.wrk"></context:component-scan>
<!-- 配置注解开发的处理器映射器 -->
<bean
class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping"></bean>
<!-- 配置注解开发的处理器适配器 -->
<bean
class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter"></bean>
<!--4.视图解析器 解析出真正的物理视图 -->
<bean
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<!-- 逻辑视图前缀 -->
<property name="prefix" value="/WEB-INF/view/"></property>
<!-- 逻辑试图后缀 -->
<property name="suffix" value=".jsp"></property>
<!-- 前缀+后缀=真正的物理视图 -->
</bean>
<mvc:annotation-driven>
</mvc:annotation-driven>
<!-- 开启注解 -->
<!-- jsp与js/css可以互访 -->
<mvc:resources location="/jquery-3.2.1/" mapping="/jquery-3.2.1/**" />
<mvc:resources location="/js/" mapping="/js/**" />
<mvc:resources location="/css/" mapping="/css/**" />
<mvc:resources location="/fonts/" mapping="/fonts/**" />
<mvc:resources location="/images/" mapping="/images/**" />
<mvc:resources location="/lib/" mapping="/lib/**" />
<mvc:resources location="/form/" mapping="/form/**" />
<!--springMVC拦截器定义-->
<mvc:interceptors>
<mvc:interceptor>
<!-- 拦截所有请求 -->
<mvc:mapping path="/**"/>
<!-- 使用bean定义一个Interceptor -->
<bean class="com.wrk.interceptors.MyInterceptor"/>
</mvc:interceptor>
</mvc:interceptors>
<!-- 3、文件上传下载 -->
<bean id="multipartResolver"
class="org.springframework.web.multipart.commons.CommonsMultipartResolver" />
</beans>
现成的智能组卷考试系统
可:
基于javaweb的
电商平台
各种管理系统
点餐系统等
技术实现:
spring,springmvc,mybatis
数据库:
sqlserver,Oracle,mysql中的任意数据库,
服务器:
Tomcat
编译工具:
eclipse或者idea
源码在这里获取
链接:https://pan.baidu.com/s/1SPsst3MTa0wOIwkc1FoOvQ
提取码:hdtp
复制这段内容后打开百度网盘手机App,操作更方便哦