what I can do is helping you up

解决方案 »

  1.   

    就是当我点lgoin后页面不会显显示:
    this is a1=name
    this is a2=password
    hello from two.jsp不知道为什么?
      

  2.   

    这个是我所得的结果:
                            __________
    please input your name:|__________|
                                __________
    please input your password:|__________||login|
    go two-->
    this examples show include works
    (比如我输入name 与password)当我当点了lgoin后还是显示这个,也就是说原本提交请求后会把
    this is a1=name
    this is a2=password
    hello from two.jsp
    一起显示。而我得出的结果是不一样的。
    这个是jsp应用开发详解(第二版)书本上的一个例子。
      

  3.   

    <jsp:include page="two.jsp" flush="true">应该放在
    <jsp:param name="a2" value="<%=request.getParameter("password")%>"/>
    的后面吧!
    今天没时间,你自己测试吧!
      

  4.   

    我想这主要的问题在
    static.html
    你把它改成jsp试试!
      

  5.   

    过年了看看我的回答,不知道过不过期!今天看看:你的static的代码如出了问题:
    <form method=post action="jsp_include.jsp">
    <table>
    <tr>
    <td>please input your name:</td>
    <td>
    <input type=text name=name>
    </td></tr>
    <tr><td>input you password:</td>
    <td>
    <input type=text name=password>
    </td>
    </tr>
    <tr>
    <td>
    <input type=submit value=login>
    </td>
    </tr>
    </table>
    </form>
      

  6.   

    没有</form>,当然login按钮无效!