Hello World
          Java技術學習
          posts - 17,  comments - 7,  trackbacks - 0

          1. 修改tomcat的server.xml(這種方法試過了,挺好用)

          < Host? name ="localhost" ?debug ="0" ?appBase ="webapps"
          ?unpackWARs
          ="true" ?autoDeploy ="true"
          ?xmlValidation
          ="false" ?xmlNamespaceAware ="false" >
          ?
          ??
          < Logger? className ="org.apache.catalina.logger.FileLogger"
          ???????????directory
          ="logs" ??prefix ="localhost_log." ?suffix =".txt"
          ??????timestamp
          ="true" />

          ?
          < Context? path ="" ?docBase ="xxxxxx" ?debug ="0" />
          </ Host >


          2. 還在網上看到一個方法,沒用過,先記下來
          將root下的web.xml中的

          < servlet >
          ????
          < servlet-name > org.apache.jsp.index_jsp </ servlet-name >
          ????
          < servlet-class > org.apache.jsp.index_jsp </ servlet-class >
          </ servlet >

          < servlet-mapping >
          ????
          < servlet-name > org.apache.jsp.index_jsp </ servlet-name >
          ????
          < url-pattern > /index.jsp </ url-pattern >
          </ servlet-mapping >

          刪掉

          posted on 2006-10-27 11:17 Java初心 閱讀(5390) 評論(1)  編輯  收藏 所屬分類: web配置

          FeedBack:
          # re: [整理]Tomcat配置根目錄默認頁面
          2010-07-01 15:30 | ew
          wer  回復  更多評論
            

          <2006年10月>
          24252627282930
          1234567
          891011121314
          15161718192021
          22232425262728
          2930311234

          常用鏈接

          留言簿(1)

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 福泉市| 濉溪县| 滨海县| 阿克苏市| 井冈山市| 米泉市| 田阳县| 康定县| 特克斯县| 阿城市| 安达市| 广饶县| 封开县| 简阳市| 米脂县| 蓝田县| 象州县| 凤凰县| 宣城市| 依兰县| 清原| 山东省| 庆元县| 陕西省| 鹤峰县| 永嘉县| 永济市| 灵台县| 清流县| 会宁县| 五大连池市| 朝阳市| 三原县| 密云县| 抚远县| 武平县| 南康市| 滕州市| 福鼎市| 望江县| 淮南市|