谁能帮忙解决下面的问题???
http://softbbs.pconline.com.cn/topic.jsp?tid=7851363

http://softbbs.pconline.com.cn/topic.jsp?tid=7852138

解决方案 »

  1.   

    很简单啊 
    因为你第一次访问时没有指明访问那个页面
    也就是说你近给出了一个项目名称,但是没有页面路径
    而下边的那个访问的是具体页面,自然会有了
    如果你想在http://localhost:8080/DataBase/中直接访问,那么你就需要在web.xml中配置welcome-file-list
    如下:
      <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
      </welcome-file-list>
      

  2.   

    你的项目没有设置index页面,tocmat默认index.jsp为默认的index页面,如果你的项目主页面不是index.jsp
    请修改web.xml
    <welcome-file-list>
    <welcome-file>/login.jsp</welcome-file>
    </welcome-file-list>
      

  3.   

    在哪个web.xml中配置呀???
    我的项目都放在D盘,而tomcat安装在C盘。
      

  4.   

    我的项目中没有web.xml也没有index.jsp。
    配置你们说的那个之后打开之后是个空白页。
      

  5.   

    tomcat5目录\webapps\项目名\WEB-INF\web.xml
      

  6.   

    我按上面教的写了,可还是一个空白页。
    web.xml里面应该写什么内容呀???