<head>
<meta http-equiv="refresh" content="3;http://localhost:8080/Children'sDay/FirstPage.jsp">
</head>
看不出有什么问题啦。
但是,始终不能从index.jsp转到FirstPage.jsp
之前,有时候可以,有时候不可以。

解决方案 »

  1.   

    你url上的那个诡异的单引号是神马东西...
    为什么要这么定义路径名...
      

  2.   

    http://localhost:8080/Children'sDay
    你是本机吗?那就有不要这个了。
      

  3.   

    是本机。但是,为什么它有时候可以有时候不可以啊?现在又可以了
    因为,我把原来的这些代码
     
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">    
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <!--
    <link rel="stylesheet" type="text/css" href="styles.css">
    -->
    还原,它又可以了
      

  4.   

    问题不在于有没有...
    而在于你用的诡异的单引号...
    url标准里就不应该有这些符号,如果实在需要的话,也应该被urlencode