第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

list頁面都打不開了

不知道為什么,我照著這個(gè)代碼抄了一遍,結(jié)果list頁面都打不開了,配置文件我已經(jīng)校驗(yàn)好幾遍了,沒有錯(cuò)啊?。?br />

Message.xml:

<?xml version="1.0" encoding="UTF-8"?>


<!DOCTYPE mapper

? ? PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"

? ? "http://mybatis.org/dtd/mybatis-3-mapper.dtd">


<mapper namespace="Message">

? <resultMap type="com.imooc.bean.Message" id="MessageResult">

? ? <id column="id" jdbcType="INTEGER" property="id"/>

? ? <result column="COMMAND" jdbcType="VARCHAR" property="command"/>

? ? <result column="CONTENT" jdbcType="VARCHAR" property="content"/>

? ? <result column="DESCRIPTION" jdbcType="VARCHAR" property="description"/>

? </resultMap>

? <select id="queryMessageList" parameterType="com.imooc.bean.Message" ?resultMap="MessageResult">

? ?select ID,COMMAND,DESCRIPTION,CONTENT from message where 1=1?

? ?<if test="command!=null and!&quot;&quot;.equals(command.trim())">and COMMAND=#{command}</if>

? ? <if test="description!=null and!&quot;&quot;.equals(description.trim())">

? ? and DESCRIPTION like '%' #{description} '%'

? ? </if> ?

? </select>

? <delete id="deleteOne" parameterType="int">

? ? ?delete from MESSAGE where ID= #{_parameter}

? </delete>

? <delete id="deleteBatch" parameterType="java.util.List">

? ? ?delete from MESSAGE where ID in(

? ? ?<foreach collection="list" item="item" separator=",">

? ? ?#{item}

? ? ?</foreach>

? ? ?)

? </delete>

</mapper>


web.xml

<?xml version="1.0" encoding="UTF-8"?>

<web-app version="2.5"?

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_2_5.xsd">

? <display-name></display-name>

? <welcome-file-list>

? ? <welcome-file>index.jsp</welcome-file>

? </welcome-file-list>

<servlet>

? <servlet-name>ListServlet</servlet-name>

? <servlet-class>com.imooc.servlet.ListServlet</servlet-class>

? </servlet>

? <servlet-mapping>

? <servlet-name>ListServlet</servlet-name>

? <url-pattern>/List.action</url-pattern>

? </servlet-mapping>

??

?<servlet>

? <servlet-name>DeleteOneServlet</servlet-name>

? <servlet-class>com.imooc.servlet.DeleteOneServlet</servlet-class>

? </servlet>

? <servlet-mapping>

? <servlet-name>DeleteOneServlet</servlet-name>

? <url-pattern>/DeleteOneServlet.action</url-pattern>

? </servlet-mapping>

??

? ?<servlet>

? <servlet-name>DeleteBatchServlet</servlet-name>

? <servlet-class>com.imooc.servlet.DeleteBatchServlet</servlet-class>

? </servlet>

? <servlet-mapping>

? <servlet-name>DeleteBatchServlet</servlet-name>

? <url-pattern>/DeleteBatchServlet.action</url-pattern>

? </servlet-mapping>

</web-app>

??



正在回答

1 回答

控制臺(tái)沒有報(bào)錯(cuò),頁面上報(bào)的404

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

qq_趙成冬_0 提問者

解決了已經(jīng),是xml文件出了問題,我也不知道出在哪里,總之又寫了一遍解決了
2016-08-22 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

list頁面都打不開了

我要回答 關(guān)注問題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)