出现这个提示好像是你的jsp文件名不对(注意大小写)或者你的目录配置得不正确

解决方案 »

  1.   

    你的jsp文件位置对不?
    你直接敲jsp的地址也应该不可以访问吧?
    如果可以访问,那就是html和jsp不在一个级别里
      

  2.   

    String str1=request.getParameter("Text1");
      

  3.   

    action="Text2.jsp" ? 还是test2.jsp?还有,JSP容器区分大小写,文件名的大小写,
      

  4.   

    其中有两个地方错误:
      第一:String str1=request.getParameter(Text1);
        应该修改为:
       String str1=request.getParameter("Text1");   第二:<form name="form1" method="post" action="Text2.jsp">中提交的是Text2.jsp
    那么你那个test2.jsp就应该改命名为Text2.jsp或者将<form name="form1" method="post" action="Text2.jsp">修改为<form name="form1" method="post" action="test2.jsp">
    即可,这是细节上一些的问题,你注意一下大小写以及文件名称。
      

  5.   

    error1:<form name="form1" method="post" action="Text2.jsp">
    --
    提交到Text2.jsp与test2.jsp不一,文件名字要一致,而且还需要注意大小写。error2:
    String str1=request.getParameter(Text1);
    参数应该是"Text1"
      

  6.   

    <form name="form1" method="post" action="Text2.jsp">test2.jsp
    <% String str1=request.getParameter(Text1);
    out.println(str1);
    %>
    jsp中的代码是区分大小写的,你的action="Text2.jsp"
    你的test2.jsp的名称改为 Text2.jsp就可以了.
      

  7.   

    你提交的页面错了,是text2.jsp。这个一定要注意。java大小写区分,就连文件夹都要注意,经常用给文件夹用小写字母命名,不然以后带来的麻烦可不小啊。至于文件名就更不用说了。
      

  8.   

    楼主老大,拜托!能不能仔细点?
    你提交的目录是<form name="form1" method="post" action="Text2.jsp">
    也就是Text2.jsp,而你接收的页名字是test2.jsp!
    不说大小写的问题也不对啊!
    这个错误太低级了!
      

  9.   

    补充一点,那个错误提示是提交后,找不到提交的目标页,也就是找不到Text2.jsp。
      

  10.   

    第一:String str1=request.getParameter(Text1);
        应该修改为:
       String str1=request.getParameter("Text1");
    第二:你提交的目录是<form name="form1" method="post" action="Text2.jsp">中的Text2.jsp,改为test2.jsp!我以测是正确
      

  11.   

    第一:String str1=request.getParameter(Text1);
        应该修改为:
       String str1=request.getParameter("Text1");
    第二:你提交的目录是<form name="form1" method="post" action="Text2.jsp">中的Text2.jsp,改为test2.jsp!