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

          主站蜘蛛池模板: 牡丹江市| 灵石县| 收藏| 社会| 锡林郭勒盟| 鹤岗市| 玉溪市| 双牌县| 永登县| 吴桥县| 河南省| 维西| 韶山市| 通化市| 巴马| 三江| 安吉县| 云和县| 乌海市| 双峰县| 河池市| 获嘉县| 松滋市| 修武县| 朝阳市| 定边县| 麻栗坡县| 隆回县| 和田市| 东明县| 鸡东县| 天峻县| 商都县| 牙克石市| 宁波市| 庄浪县| 仲巴县| 古交市| 开江县| 乐东| 塔河县|