在tomcat部署项目,在运行index.html(此时的html是自己新建的默认页不加任何东西)可以正常在IE中显示,但是在页面中加了表单 类似:输入用户,密码,提交,取消 ,此时再打开IE就出现404的报错,自己又把源代码一下部分删除
   < meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->此时又可以正常显示了!!

解决方案 »

  1.   


        < meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> 
        <meta http-equiv="description" content="this is my page"> 
        <meta http-equiv="content-type" content="text/html; charset=UTF-8"> 
        <!-- <link rel="stylesheet" type="text/css" href="./styles.css">--> 楼主的意思是这几句引起的404异常 ?不太可能把
      

  2.   

    404错误是找不到资源
    楼主页面中是不是用了action什么的,检查下引用的action有没有,配置的是否正确