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

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

http://download.macromedia.com/pub/labs/flex2_tag_library_jsp/flex2_tag_library_for_jsp.zip

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>
<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!

TADOEBA:

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

<% @ Taglib uri = "FlexTagLib" prefix = "mm"%>
<% @ Page contentType = "text / html; charset = utf-8"%>
<html>
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.
  • del.icio.us
  • StumbleUpon
  • Digg
  • TwitThis
  • Mixx
  • Technorati
  • Facebook
  • NewsVine
  • Reddit
  • Google
  • LinkedIn
  • YahooMyWeb

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

  • Process migration from tomcat to websphere changes

    Process migration from tomcat to websphere changes Because customers use the web application server software used by different what tomcat5, tomcat6, websphere5.1, websphere6.1, weblogic8, and so on, and the software used inconsistent standards, ibm's

  • Ruby on Rails Routing - Simple Examples

    This article contains a list of ruby on rails routing examples. If you find you have any questions please leave a comment. Routes are processed from the top of routes.rb down. If a route is matched it will stop processing the routes.rb file and use that r

  • JAVA EE JSP_JNDI

    dsfdsa http://lindows.javaeye.com/admin/blogs/213348 Tomcat 6 with the connection pool data source configuration http://www.blogjava.net/ec2008/archive/2008/07/19/216063.html project: test Driver path: D: \ workspace \ test \ WebRoot \ WEB-INF \ lib ...

  • Hibernate connection pool configuration

    Hibernate connection pool configuration <! - Jdbc -> <property name="connection.driver_class"> oracle.jdbc.driver.OracleDriver </ property> <property name="connection.url"> jdbc: oracle: thin: @ 10.203.14.132:15

  • hibernate generic generic DAO

    package org.lzpeng.dao; import java.io.Serializable; import java.util.List; import org.hibernate.Criteria; import org.hibernate.Query; import org.hibernate.criterion.Criterion; import org.springside.modules.orm.hibernate.Page; /** * * @version 2009-1-10 *

  • Servlet brief introduction

    Servlet brief introduction: Servlet is a small application server Are used to complete the B / S architecture, the client requests the response to treatment Platform independence, performance, able to run thread Servlet API for Servlet provides the s ...

  • Spring2.0 + hibernate3.1 + log4j + mysql demo

    applicationContext.xml Non-attachment jar package, necessary friends can send an email to todd.liangt @ gmail.com

  • Struts2 + hibernate + spring problem user log in

    dao layer services layer action jsp <tr> <td align="center"> <b> user name: </ b> </ td> <td> <s: textfield name = "czyNumber" cssClass = "textstyle" theme = "simple" size = &q

  • Hibernate secondary cache

    Hibernate cache: 2-bit cache, also known as process-level cache or SessionFactory level cache, secondary cache can be shared by all of the session Cache configuration and the use of: Will echcache.xml (the document code in hibernate package directory ...

  • Hibernate's lazy strategy

    hibernate Lazy strategy can be used in: <class> tag, it can be true / false Tags can <PROPERTY> values true / false type of necessary tools to enhance <set> <list> can tag values true / false / extra <many-to-one> <on ...

blog comments powered by Disqus
Recent
Recent Entries
Tag Cloud
Random Entries