都没人用tomcat5吗?高手回答下啊

解决方案 »

  1.   

    偶自己解决了,csdn看来没什么高手
    <jsp:include page="customer.jsp">
    </jsp:include>to<jsp:include page="customer.jsp">
    <jsp:param name="" value=""/>
    </jsp:include>原因servlet2.4对标签要求比较严格造成的;
      

  2.   

    //楼主你虽然解决了问题,可惜你好像还是不知道怎么错的.
    <jsp:include page="customer.jsp">
    </jsp:include> 的写法是必须要有含有body.因此必须类似这样: 
    <jsp:include page="customer.jsp">
    <jsp:param name="" value=""/>
    </jsp:include>而确实没有jsp:param 的时候,就必须写成:
    <jsp:include page="customer.jsp" /> (xml简写方式)
    -------------------
    From the title of the tag you can see whether or not the tag has a body:
    <tag></tag> tags always have a body 
    <tag /> does not have a body -------------------