http://localhost:8080/
tomcat自带得能运行出来吗?

解决方案 »

  1.   

    程序如下:(我是新手,请高手帮帮忙
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    </head><body bgcolor="#FFFFFF" leftmargin="10" topmargin="8" alink="#FFFF33" vlink="#990099">
    <%@ page contentType="text/html; charset=gb2312" %>
    <jsp:include page="header1.jsp" flush="true"/><div id="Layer5" style="position:absolute; width:273px;   height:430px; z-index:2; left: 11px; top: 13px"> 
      <p align="center"> function</p>
      <p>&nbsp;</p>
    </div>
    <div id="Layer6" style="position:absolute; width:684px; height:430px; z-index:3; left: 287px; top: 13px"> 
      <p align="center">display</p>
      <p>&nbsp;</p>
    </div>
    <p><br></p><jsp:include page="footer.jsp" flush="true"/>
    </body>
    </html>
      

  2.   

    自带的能运行出来
    什么html文件?
      

  3.   

    footer.jsp和以上那个jsp文件在同一个目录下吗?
      

  4.   

    http://localhost:8080/root/那个jsp文件名
      

  5.   

    如果不行,拷贝到webapps下试试!
      

  6.   

    奇怪,考到examples下就行了
    还是谢谢你的帮助
    以后还请多多指教