<%@ 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>



















