jsp点击超链接时传递参数

2024-11-26 22:29:06
推荐回答(2个)
回答1:

<%
while(rs.next()){
%>

    <%=rs.getString("oid")%
    <%=rs.getString("otime")%
    <%=rs.getString("ocount")%
    <%=rs.getString("ooprice")%
    <%=rs.getString("ostate")%

    
    &otime=<%=rs.getString("otime")%>
    &ocount=<%=rs.getString("ocount")%>">退款
 
 <%}%>

想带多几个参数,直接在后面用&连接就好了。

回答2:

tuikuan.jsp?p1=xxx&p2=xxx&p3=xxx......