直接在jsp页面上使用flex标签

2019-08-02 11:10:16 浏览数 (1)

1:去ADOBE下载FLEX的TAGLIB for JSP.

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

2:将下载下来的文件解压,里面有2个JAR文件.

将flex-bootstrap-jsp.jar拷贝到WEB-INF/lib 文件夹.

将flex-webtier-jsp.jar 拷贝到WEB-INF/flex/jars 文件夹.

3:在WEB.XML中添加

<taglib> <taglib-uri>FlexTagLib</taglib-uri> <taglib-location>/WEB-INF/lib/flex-bootstrap-jsp.jar</taglib-location> </taglib>

注:暂时只能使用flex3的标签,在IE下需要打开兼容性视图才能看到效果

0 人点赞