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

分类:Flash 2010-11-09 来源:CodeWeblog.com 人气:183

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.

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, Temp

  • 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. Without using JSP tag library, to write a lot of Java code to make the page cluttered d

  • 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

  • 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"

  • JSTL Xiang Jie - Core tag library 2010-05-07

    There are following in JSTL1.1 tag library are supported: Core tag library, XML processing tag library, I18N formatting tag library, Database access tag library, Functions tag library. Table 2 shows the corresponding identifier: Table 2 tag library URI pr

  • 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 2.0 i

  • 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=""

  • 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

  • The use of Eclipse Birt 2.2 of the Chart tag library to create web charts 2010-03-19

    Eclipse Birt 2.2 release is, indeed, I was shocked, because it's Notable Features a bright spot in the text is staggering, such as cross-tables, charts and so on. The make their own, a small software which need to use Birt, anyway, do to his own use,

iOS 开发

Android 开发

Python 开发



PHP 开发

Ruby 开发






Javascript 开发

.NET 开发



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

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

processed in 0.384 (s). 14 q(s)