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)論排行榜

          主站蜘蛛池模板: 东港市| 宁安市| 罗甸县| 徐州市| 江阴市| 二手房| 阿巴嘎旗| 静宁县| 蒙阴县| 兴文县| 南宫市| 金坛市| 淮北市| 延长县| 咸阳市| 韩城市| 邛崃市| 从江县| 临安市| 斗六市| 昭平县| 靖宇县| 明星| 新安县| 于都县| 尼勒克县| 建阳市| 杂多县| 古田县| 太白县| 宜阳县| 紫云| 岳西县| 隆昌县| 韩城市| 津南区| 安泽县| 商城县| 甘洛县| 贵德县| 托克逊县|