posts - 325,  comments - 25,  trackbacks - 0
          HttpServletResponse hrs = (HttpServletResponse)response;
              hrs.setContentType("text/html; charset=utf-8");
              ServletOutputStream os = hrs.getOutputStream();
              String contextPath = ((HttpServletRequest)request).getContextPath();
              os.print("<script>alert('test);window.location.href='"+contextPath+"/mypage/user_info.jsp';</script>");
              /*ActionForward forward=new ActionForward("/mypage/user_info.jsp");
              forward.setRedirect(true);*/
              return null;
          posted on 2009-07-10 11:09 長(zhǎng)春語(yǔ)林科技 閱讀(292) 評(píng)論(0)  編輯  收藏 所屬分類(lèi): struts
          <2009年7月>
          2829301234
          567891011
          12131415161718
          19202122232425
          2627282930311
          2345678

           

          長(zhǎng)春語(yǔ)林科技?xì)g迎您!

          常用鏈接

          留言簿(6)

          隨筆分類(lèi)

          隨筆檔案

          文章分類(lèi)

          文章檔案

          相冊(cè)

          收藏夾

          搜索

          •  

          最新評(píng)論

          閱讀排行榜

          評(píng)論排行榜

          主站蜘蛛池模板: 凤山县| 神农架林区| 衡阳县| 磴口县| 内丘县| 顺昌县| 贞丰县| 昆山市| 松阳县| 都江堰市| 定结县| 鲜城| 霸州市| 长海县| 双辽市| 顺义区| 岐山县| 荥阳市| 遂平县| 吉安市| 乐东| 泽库县| 肥城市| 金湖县| 汉阴县| 淮南市| 革吉县| 上高县| 锦屏县| 探索| 邵阳市| 南雄市| 永德县| 三都| 贡山| 天津市| 沈阳市| 阿拉善右旗| 毕节市| 普宁市| 大英县|