欢迎页面设置成/MANAGE/login.jsp

解决方案 »

  1.   

    里面index.jsp中加判断,如果用户没有登录则转向到login.jsp
      

  2.   

    Apache Tomcat 4.0\conf下的web.xml
    <welcome-file-list>
        <welcome-file>MANAGE/login.jsp</welcome-file>
    </welcome-file-list>
      

  3.   

    可以在web.xml文件中配置,具体的你找找看吧
      

  4.   

    <welcome-file-list>
        <welcome-file>login.jsp</welcome-file>
    </welcome-file-list>
      

  5.   

    我把login,jsp改成index.jsp可是还是要输入 http://IP:8080/MANAGE
      

  6.   

    把login.jsp改成index.jsp 然后拿到MANAGE文件夹外面,应该就可以了
      

  7.   

    找到conf下的web.xml,有如下:    <welcome-file-list>
            <welcome-file>index.html</welcome-file>
            <welcome-file>index.htm</welcome-file>
            <welcome-file>index.jsp</welcome-file>
        </welcome-file-list>在其中加上<welcome-file>MANAGE/login.jsp</welcome-file>,然后删除ROOT下的index.jsp(或者改名字),这样试试看行不行,如果还不行就把web.xml中只保留如下:    <welcome-file-list>
            <welcome-file>MANAGE/login.jsp</welcome-file>
        </welcome-file-list>不过你的服务器就不能自动找到index为名字的文件了。