`
文章列表
引自:http://www.cnblogs.com/kaixuan/archive/2009/10/20/1587013.html 1.带名字空间的XML   <!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><?xml version="1.0" encoding="U ...
来源:http://www.skill8.com/article/Flex_html/105.htm 对AIR安装配置文件做了一下研究,发现有很多细致配置的东西,把自动生成的文件添加了中文注释.相信对正在做AIR项目的人能够有所帮助.<?xml version="1.0" encoding="UTF-8"?><application xmlns="http://ns.adobe.com/air/application/1.0">     <!-- The application identifier st ...
      在air配置文件(*-app.xml)中,找到application下的icon节点,去掉icon节点的注释;然后设置image的值,即图标的路径,需要说明的是图标的大小要和标签中标写的尺寸一样
1.使用mxml标签定义WebService    a、定义webservice   <mx:WebService id="login_ws" wsdl="http://localhost/myprj/service/UserService?wsdl">   <mx:operation name="login" result="loginresult(event)" />   </mx:WebService>    b、 as中调用webservice进行登录身份的验证   p ...
目标——将D:\myfile目录下的所有文件及文件夹打包到license.jar包中 步骤——1.用cd命令跳转至D:\myfile目录下              2.输入命令jar cvf license.jar *.*

Flex3中去除水印

由于以前测试时没有单一变量的方式,就认为以我的方式修改FlexBuilder的序列号就可以除去水印,后来换了环境再去除水印时没有实现,才发现真正去除AdvancedDataGrid水印的方式换SDK版本,说说我的步骤: 1.FB3的SDK默认版本是3.2.0,我换成flex_sdk_3.4.0; 2.但换了后会出现“Could not resolve <mx:AdvancedDataGrid> to a component implementation”提示,这是需下载datavisualization相关资源,我下载datavisualization_sdk3.3,将frame ...
Flex在做界面开发的时候有很多优势,Flex+java的组合也越来越流行,在整合开发的过程中自然会遇到数据交互的问题,下面介绍Flex3+Java整合使用json的情况。一、Flex3中使用json需要corelib.swc   http://www.adobe.com/cfusion/exchange/index.cfm?view=sn111&extid=1078469   将corelib.swc拷贝到Flex安装目录的sdks\3.0.0\frameworks\libs下二、Java中进行数据处理得到json格式的数据,部分代码Java代码01./**  02. * 浏览器直接返 ...
  一、新建web工程S2Demo(见相册中图片S2_1、S2_2) 二、引入Struts2必须类库          下载至http://struts.apache.org/download.cg,选择Struts 2.0.14版本的struts-2.0.14-all.zip压缩包,解压该压缩包,然后将lib目录下的commons-logging.jar、freemarke ...
Struts2(使用2.1.6版本)工程部署后,启动tomcat时,出现: Unable to load configuration. - bean - jar:file:/D:/Program%20Files/tomcat-6.0.10/webapps/S2Demo/WEB-INF/lib/struts2-core-2.1.6.jar!/struts-default.xml:46:178at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration at org.apache.struts2.dispatche ...
转至:http://geeksun.iteye.com/blog/356339 (1)、request.getRealPath("/");//不推荐使用获取工程的根路径(2)、request.getRealPath(request.getRequestURI());//获取jsp的路径,这个方法比较好用,可以直接在servlet和jsp中使用(3)、request.getSession().getServletContext().getRealPath("/");//获取工程的根路径,这个方法比较好用,可以直接在servlet和jsp中使用(4)、 ...
bug: javax.servlet.ServletException: Request[/airSellOS] does not contain handler parameter named 'method'.  This may be caused by whitespace in the label text. at org.apache.struts.actions.DispatchAction.unspecified(DispatchAction.java:224) at org.apache.struts.actions.DispatchAction.dispatchMethod ...
找了很久的资料,才解决tree加载时显示所有节点这个问题,引自http://hi.baidu.com/lz0830/blog/item/7b406e82d7f41c98f703a632.html 该文中提出Tree的数据源在MXML文件中和数据源是从后台程序获取两种情况: 一、针对第一种情况(tree的数据源在MXML文件中)的写法: private function initApp():void {      for each(var item:XML in this.myTree.dataProvider)           this.myTree.expandChildrenOf( ...
错误信息: org.springframework.orm.hibernate3.HibernateSystemException: Unknown entity: Book; nested exception is org.hibernate.MappingException: Unknown entity: BookCaused by: org.hibernate.MappingException: Unknown entity: Book at org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryI ...
近日为是否在项目中使用Hibernate进行大数据量的性能测试,有一些总结, 1) 在处理大数据量时,会有大量的数据缓冲保存在Session的一级缓存中,这缓存大太时会严重显示性能,所以在使用Hibernate处理大数据量的,可以使用session.clear()或者session. Evict(Object) 在处理过程中,清除全部的缓存或者清除某个对象。 2) 对大数据量查询时,慎用list()或者iterator()返回查询结果, 1. 使用List()返回结果时,Hibernate会所有查询结果初始化为持久化对象,结果集较大时,会占用很多的处理时间。 2. 而使用iterator()返回 ...
转至:http://www.iteye.com/topic/18904 很多人对二级缓存都不太了解,或者是有错误的认识,我一直想写一篇文章介绍一下hibernate的二级缓存的,今天终于忍不住了。 我的经验主要来自hibernate2.1版本,基本原理和3.0、3.1是一样的,请 ...
Global site tag (gtag.js) - Google Analytics