TOMCAT是4.1的,跟这个有关系吗?
谢谢!

解决方案 »

  1.   

    a页
    a href="b.jsp?v1=333"
    b页
    a href="tt.jsp?v1=<%=request.getParameter("vi")%>"
      

  2.   

    主要是如何拼凑这个带多个参数的URL
      

  3.   

    ls_topic_id=tpidString ls_href ="<A href=topic_detail.jsp?ls_topic_id=tpid&
    这样ls_topic_id=是不变的,因为它也是串啊。
    你是不是看错了。??
      

  4.   

    我试了好几天,不会看错的,
    <form name="form1" method="post" action="">
      <table width="111%" border="1" height="49">
        <tr bgcolor="#0000FF"> 
          <th width="8%" height="25"> 
            <div align="center"><font color="#FFFFFF">人气</font></div>
          </th>
          <th width="43%" height="25"> 
            <div align="center"><font color="#FFFFFF">主题</font></div>
          </th>
          <th width="11%" height="25"> 
            <div align="center"><font color="#FFFFFF">创建人</font></div>
          </th>
          <th width="9%" height="25"> 
            <div align="center"><font color="#FFFFFF">回复</font></div>
          </th>
          <th width="15%" height="25"> 
            <div align="center"><font color="#FFFFFF">最后回复时间</font></div>
          </th>
          <th width="14%" height="25"> 
            <div align="center"><font color="#FFFFFF">回复人</font></div>
          </th>
        </tr>
        <% int i=1;
           String ls_topic_id;
           String ls_name;
       int ls_serial_no;
           int li_popular;
           ResultSet r_set;
           r_set = isvalid.getAllTopic();
           if(r_set.wasNull())
           {
           out.print("no topic!");
           return;
           }
         for(i=1;i<=20;i++)
         {     
              if(r_set.next())
              {
              li_popular = r_set.getInt("popular");
              ls_name    = r_set.getString("name");
              ls_name = new String(ls_name.getBytes("GB2312"),"ISO-8859-1");
              ls_topic_id= r_set.getString("topic_id");
              ls_topic_id = new String(ls_topic_id.getBytes("GB2312"),"ISO-8859-1");
              ls_serial_no= r_set.getInt("serialno");
              }
              else
              {
                   li_popular =0 ;
                   ls_name    ="no name" ;
                   ls_topic_id="no topic";
              }
      String ls_href = "<A href=topic_detail.jsp?ls_topic_id="+<%=ls_topic_id%>+"&ls_topic_name="+<%=ls_name%>;
    String ls_href3= ">"+ls_topic_id+"</A>";
    String ls_href4=ls_href+ls_href3;
        out.print("<tr>");
        out.print("<td>"+li_popular);
        out.print("<td>"+"<A href=topic_detail.jsp?ls_topic_id="+<%=ls_topic_id%>+"&ls_topic_name="+<%=ls_name%>+">"+ls_topic_id+"</A>);//这里有问题
        out.print("<td>"+ls_name);
        out.print("<td>"+"0401");
        out.print("<td>"+"0501");
        out.print("<td>"+"0601");
        out.println("</tr>");
        }     
        %>
      </table>
    </form>
      

  5.   

    强,果然高手。友情Up
    将“流氓无赖”测试到底
    ——始于2003年7月
    树欲止而风不停,行云流水匆匆去;
    树梢蚂蚱凭空望,江边浪花碎巨石; 支持“流金岁月”!!!
    ——2003年12月24日am^@^