FLEX embedded in JSP (not the swf checked into jsp)

1: Go download ADOBE FLEX's TAGLIB for JSP.


2: extract the downloaded file, there are two JAR files.

The flex-bootstrap-jsp.jar copied to the WEB-INF/lib folder.

The flex-webtier-jsp.jar copy WEB-INF/flex/jars folder.

3: Adding in the WEB.XML

<taglib-uri> FlexTagLib </ taglib-uri>
<taglib-location> / WEB-INF/lib/flex-bootstrap-jsp.jar </ taglib-location>
</ Taglib>
4: If the SERVER open, then restart.

5: JSP file can be written in FLEX code!


===================== Test.jsp START =====================

<% @ Taglib uri = "FlexTagLib" prefix = "mm"%>
<% @ Page contentType = "text / html; charset = utf-8"%>
This is html powered by jsp <br>
<mm:mxml source="MainApp.mxml" width="100%" height="100%">
</ Mm: mxml>
</ Html>

The original can be used this way, had previously been loaded with dynamic js swf, and then pass parameters to the swf, and swf and js json format used to exchange data.

Adobe seems so thoughtful consideration. . .

Looking for a bit and found downloads address is wrong. . .

adobe also changed the name, new address: http://opensource.adobe.com/wiki/display/flexsdk/downloads

Download: FlexModule_j2ee.zip this zip there are a lot of flex + j2ee develop the required packages.

分类:Flash 时间:2010-11-09 人气:183
blog comments powered by Disqus


  • Struts Html tag library using the usage (Part I) 2010-10-13

    Struts provides a powerful HTML tag library to help you build Web applications. by Budi Kurniawan To make it easier and faster to develop, Struts provides a function similar with the other five JSP tag library tag library, that is: HTML, Bean, Logic,

  • Write your own custom tag library 2010-04-06

    We all know that by using the JSP tag library in the display layer can reduce the Java code to make the modification, maintenance, and reading them is more convenient. <% String format ="yyyy-MM-dd HH:mm:ss"; SimpleDateFormat sdf = new Simple

  • jsp custom tag library 2010-10-03

    1. Why should I use a custom label? Mainly to replace the ugly JSP script. Inserted in the HTML page has the following disadvantages of JSP scripts: JSP script is ugly, difficult to read. JSP scripts and HTML code for mixed and high maintenance costs

  • --- Introduction struts2 tag library 2010-11-27

    -, Brief description of tag libraries jsp tag library (also called custom tag libraries) can be considered a JavaBean generated by XML-based scripts. 1. The main characteristics of tag library tag library has many advantages, its characteristics are

  • Standard Tag Library JSTL 2010-10-16

    Introduction JSTL is a continuous improvement of the open source code of the JSP tag library, is the jakarta apache group to maintain. JSTL only run in support of JSP1.2 and Servlet2.3 standard containers, such as tomcat 4.x. But in the upcoming JSP

  • struts2 tag library and struts1.x 2010-12-03

    struts2.0 tag library (Introduction) Used struts1.x people know, tag libraries are html, bean, logic, tiles, The struts2.0 in the label but not classified, only the header file with jsp <% @ Taglib prefix = "s" uri = "/ struts-tags"

  • Use struts2.0 tag library 2010-04-25

    <% @ Taglib prefix = "s" uri = "/ struts-tags"%> Can use the tag library struts2.0 A: <s:a href=""> </ s: a >----- hyperlink, similar to the html inside <a> </ a> <s:action name=""&g

  • struts2.0 tag library (Introduction) [change] 2009-03-20

    struts2.0 tag library (Profile) Previous sub-tag library html, bean, logic, tiles. The label did not struts2.0 where classification, as long as the jsp header file with <% @ taglib prefix = "s" uri = "/ struts-tags"%> can use. Th

  • pager tag library (page display) Xiangjie 2010-03-31

    A brief Pager-taglib, supports a variety of styles page display. In fact she is a Jsp tag library, in the JSP page of information displayed on a label designed by different combinations of these labels would form a variety of different page page, dif

  • jstl (jsp standard tag library), introduced 2010-04-14

    jstl (jsp standard tag library) description of: a young master (shaoye@dev-club.com) Preface Jsp 1.1 specification from the start, jsp has supported the jsp in the Use custom defined tags, and extensive use of custom labels created a programmer to re

iOS 开发

Android 开发

Python 开发



PHP 开发

Ruby 开发






Javascript 开发

.NET 开发



Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 黔ICP备15002463号-1

processed in 0.493 (s). 12 q(s)