云自無心水自閑

          天平山上白云泉,云自無心水自閑。何必奔沖山下去,更添波浪向人間!
          posts - 288, comments - 524, trackbacks - 0, articles - 6
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

          在Flex中內嵌Session的存取操作

          Posted on 2006-03-01 01:19 云自無心水自閑 閱讀(2468) 評論(1)  編輯  收藏 所屬分類: Flex
          <%@ page session="true" %> 
          <%@ taglib uri="FlexTagLib" prefix="mm" %> 
          <% 
            Integer num 
          = new Integer(22100); 
            session.putValue(
          "num",num); 
          %> 
          <html><body> 
          <h3>Introduction</h3> 
          <p>This is an example of writing MXML in a JSP.</p> 
          <h3>My App</h3>
          <mm:mxml border="1"> 
            
          <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" creationComplete="myService.send();"> 
              
          <mx:HTTPService url="test.jsp;jsessionid=<%=session.getId()%>" id="myService"/> 
          <mx:Label text="<%= session.getAttribute("num") %>"/> 
              
          <mx:Label text="<%= session.getId() %>"/> 
            
          </mx:Application> 
          </mm:mxml><br> 
          </body> 
          </html>




          評論

          # re: 在Flex中內嵌Session的存取操作   回復  更多評論   

          2009-04-27 01:15 by fykyx521
          請問這是哪個東西blazeds 還是spring??
          有這個taglib??
          主站蜘蛛池模板: 日喀则市| 广州市| 县级市| 即墨市| 海南省| 突泉县| 搜索| 蓬莱市| 武定县| 尉犁县| 绥滨县| 北辰区| 万全县| 光泽县| 兴国县| 固镇县| 乌拉特中旗| 滁州市| 庆安县| 虹口区| 龙胜| 黄梅县| 盘锦市| 宁城县| 灵石县| 仲巴县| 新化县| 交城县| 越西县| 鄢陵县| 邯郸市| 吉首市| 特克斯县| 神农架林区| 江津市| 宜兰县| 巨野县| 临夏县| 平阴县| 惠来县| 行唐县|