1)“?ID=1”加到下个页面的UEL后面,下个页面载入时读出
12)写入cookie下个页面载入时读出

解决方案 »

  1.   

    <%@LANGUAGE="JAVASCRIPT" CODEPAGE="936"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>无标题文档</title>
    <script  type="text/javascript">
    <!--
    function jumpurl(id)
    {
    //下面以百度为例实际以你的URL代替就行了
     window.location = "http://www.baidu.com?id="+id;
    }
    -->
    </script>
    </head><body>
    <img src="你的图片地址" width="380" height="300" border="0" onclick="jumpurl('<%=你取得的ID值%>')" />
    </body>
    </html>
      

  2.   

    window.location = "http://你要转向的地址?id="+你的id值   就可以了 
      

  3.   

    window.location = "http://你要转向的地址?id="+你的id值下一个页面就是request.getPrarmeter("id");