DEBUG [http-8080-10] - DispatcherServlet with name 'springMvc' processing GET request for [/XYKJOA/getALLWorkPlan.do]
DEBUG [http-8080-10] - Looking up handler method for path /getALLWorkPlan.do
DEBUG [http-8080-10] - Returning handler method [public java.lang.String com.xykj.controller.WorkPlanController.getALLWorkPlan(javax.servlet.http.HttpServletRequest)]
DEBUG [http-8080-10] - Returning cached instance of singleton bean 'workPlanController'
DEBUG [http-8080-10] - Last-Modified value for [/XYKJOA/getALLWorkPlan.do] is: -1
DEBUG [http-8080-10] - Creating a new SqlSession
DEBUG [http-8080-10] - Registering transaction synchronization for SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@707cdc58]
DEBUG [http-8080-10] - Fetching JDBC Connection from DataSource
DEBUG [http-8080-10] - Registering transaction synchronization for JDBC Connection
DEBUG [http-8080-10] - JDBC Connection [com.alibaba.druid.proxy.jdbc.ConnectionProxyImpl@24d2fb67] will be managed by Spring
DEBUG [http-8080-10] - ooo Using Connection [com.alibaba.druid.proxy.jdbc.ConnectionProxyImpl@24d2fb67]
DEBUG [http-8080-10] - ==> Preparing: select * from XY_WorkPlan
DEBUG [http-8080-10] - ==> Parameters:
DEBUG [http-8080-10] - Releasing transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@707cdc58]
DEBUG [http-8080-10] - Should roll back transaction but cannot - no transaction available
DEBUG [http-8080-10] - Transaction synchronization closing SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@707cdc58]
DEBUG [http-8080-10] - Returning JDBC Connection to DataSource
DEBUG [http-8080-10] - Rendering view [org.springframework.web.servlet.view.JstlView: name 'work/workplan_list'; URL [/work/workplan_list.jsp]] in DispatcherServlet with name 'springMvc'
DEBUG [http-8080-10] - Forwarding to resource [/work/workplan_list.jsp] in InternalResourceView 'work/workplan_list'
DEBUG [http-8080-10] - Successfully completed request
springmvc+mybatis 页面404,控制台无异常输出
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
6条回答 默认 最新
- MyStony 2015-06-17 06:04关注
spring-mvc.xml
<?xml version="1.0" encoding="UTF-8"?>
xmlns:mvc="http://www.springframework.org/schema/mvc"
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
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd">mvc:annotation-driven/
<!-- 自动扫描controller包下的所有类,使其认为spring mvc的控制器 -->
/context:component-scan<bean id="paramMethodResolver" class="org.springframework.web.servlet.mvc.multiaction.ParameterMethodNameResolver"> <property name="paramName" value="action" /> </bean> <!-- 对模型视图名称的解析,即在模型视图名称添加前后缀 --> <bean class="org.springframework.web.servlet.view.InternalResourceViewResolver" p:prefix="/" p:suffix=".jsp" /> <mvc:annotation-driven></mvc:annotation-driven> <!-- 上传配置multipart --> <bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver"> <!-- 设置文件大小5M --> <property name="maxUploadSize" value="5000000"></property> </bean> <!-- <mvc:resources location="work/images" mapping="images/**"/> <mvc:resources location="work/js" mapping="js/**"/> <mvc:resources location="work/css" mapping="css/**"/> -->
解决 无用评论 打赏 举报
悬赏问题
- ¥15 ELGamal和paillier计算效率谁快?
- ¥15 file converter 转换格式失败 报错 Error marking filters as finished,如何解决?
- ¥15 ubuntu系统下挂载磁盘上执行./提示权限不够
- ¥15 Arcgis相交分析无法绘制一个或多个图形
- ¥15 关于#r语言#的问题:差异分析前数据准备,报错Error in data[, sampleName1] : subscript out of bounds请问怎么解决呀以下是全部代码:
- ¥15 seatunnel-web使用SQL组件时候后台报错,无法找到表格
- ¥15 fpga自动售货机数码管(相关搜索:数字时钟)
- ¥15 用前端向数据库插入数据,通过debug发现数据能走到后端,但是放行之后就会提示错误
- ¥30 3天&7天&&15天&销量如何统计同一行
- ¥30 帮我写一段可以读取LD2450数据并计算距离的Arduino代码