1.encoding inherited from container
change the default setting of eclipse
eclipse encoding inherited from container
Window-->Preferences->General-->Workspace-->Text file encoding
2.php
Fatal error: Unsupported operand types
翻译成中文就是:
致命错误:不支持的操作数据类型
产生原因,将不符合数据类型的数据传送给了某些函数。比如我就不小心将一个数组传给了我的一个自定义函数,而这个函数接受的参数应该是数字
3.php
Parse error: parse error, expecting `T_PAAMAYIM_NEKUDOTAYIM' in D:\wamp\www\oss\html\sys_statisc\silverStatisc.html on line 19
分析:一般是因为在html中少写了$,T_PAAMAYIM_NEKUDOTAYIM其实就是::
4.flex builder
如何在 Flex Builder 中不显示 warning
Open the Compiler Properties dialog box, select Project -> Properties -> Flex Compiler. In input fileld "Additional compiler arguments:" you can type commands for disabling warnings.
To disable ActionScript warnings : -show-actionscript-warnings=false
To disable Binding warnings: -show-binding-warnings=false
To disable all warnings: -warnings=false
PS:因为在 Flex Builder 中 “Export Release Bui
5.flex 光标设置
在网页中嵌入flash(如登录界面)时,有时需要默认自动将光标移动到相应的输入框中,如果只在Application的
creationComplete事件中写textinput.setFocus(),会发现虽然输入框获得了焦点,但是并没有将光标移动到输入框,因此
无法直接在里面输入。此时,只需要在setFocus()方法调用前回调一个js方法,也可以写成如下形式:
ExternalInterface.call('function
browserFocus(){document.getElementById(\'Login\').focus();}');
其中Login为嵌入网页的flash的id,这时你会发现,光标已被默认至于你想要的那个输入框中了.如果你建的是一个flex工程,该id一般和工程名是一致的。
可以去查看bin-debug目录下,对应的html文件中attributes.id = "你要的id";
比如说你的应用是 test.mxml ,则去找bin-debug目录下test.html文件中attributes.id 的值。
6.FlexContext.getFlexSession()在servlet的doPost方法中不能用的问题解决
我的经验告诉我,FlexContext.getFlexSession()在servlet的doPost方法中得到的值是null,也就是说我们在servlet中无法通过FlexContext.getFlexSession()来获得session中的attribute值。
比如说在用户登录的时候记录下用户的信息FlexContext.getFlexSession().setAttribute("user", vo);,在flex调用的servlet需要用到session值应该怎么办呢?可以这样获得:
public void doPost(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
String basePath = super.getServletContext().getRealPath("");
res.setContentType("text/html; charset=UTF-8");
String currentTimeMillis = String.valueOf(System.currentTimeMillis());
// 获得当前用户id
UsersVO uservo =(UsersVO) req.getSession().getAttribute("user");
String userId=uservo.getUserid();
。。。。。。
}
7.创建Flex4SDK的Project为什么不生成html-template
创建Flex工程时,设置默认的SDK版本为3.5.创建完成生成html后,再将工程的SDK编译版本改成4.
分享到:
相关推荐
「信息安全」SCADAICS Inherited Insecurity From Nuclear Power Plants to Oil Rigs - 云安全 防火墙 端点安全 安全研究 安全防护 应用安全
Message is not intended to be inherited from. In particular, its destructor is not virtual.
Java程序设计中关联与继承的比较Java programming associated with inherited comparison
systemd is a suite of system management daemons, libraries, and utilities designed as a central management and configuration platform ...inherited UNIX System V and Berkeley Software Distribution (BSD).
It uses the inherited handles for STDIN and STDOUT to access the pipe created by the parent. The parent process reads from its input file and writes the information to a pipe. The child receives text...
As a C programmer on Windows since W... However, I also found MFC to be almost poor in term of C++ implementation because of certain limitations (probably inherited because compatibility with the past).
主要介绍了java元注解@Inherited的使用详解,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧
Professor Han inherited the essence of the classic PID controller and almost had no requirement for the mathematical model of the controlled object. On the basis of it, the state observer technology ...
* A width (integer, inherited from Image)宽 * A height (integer, inherited from Image)高 * A center (using our GCoordinate class, optional when there is at least one marker)中心位置 * A zoom level...
带有Inherited注解的service文件,包含java源文件和编译后的class文件,可用于dubbo+zookeeper平台的事务处理,下载后直接将原来的server.class文件替换即可
inherited在消息中的作用(编译器根据inherited所在的函数,直接转换成对祖先类同名动态函数的调用,或者转换成对DefaultHandler的调用).mht`
Java编程演示继承抽象函数和实现接口经典代码Java programming presentation and implementation abstract function interfaces inherited classic code
30798 Hotfix for Inherited VCL Form HighDPI Regression in 10.2.1
信息安全_数据安全_SCADAICS Inherited Insecurity Fr 安全威胁 APT 系统安全 安全测试 法律法规
As well as this, because Visual Basic’s syntax was inherited from early versions of BASIC (which, in turn, was designed to be intuitively simple for beginning programmers to understand, rather than ...
jbpm相关jPDL的流程定义元素 第一层级:GraphElement第二层级:node;processDefinition;Transition;Task 它们都inherited from GraphElement,反正不要积分下下来看看吧
The issue causes an inherited VCL form to fail to scale on high DPI displays. To install the hotfix, copy the ZIP file in the main root folder of your RAD Studio installation (like C:\Program files ...
The issue causes an inherited VCL form to fail to scale on high DPI displays. To install the hotfix, copy the ZIP file in the main root folder of your RAD Studio installation (like C:\Program files ...
In addition to that practical knowledge, author William Shotts reveals the philosophy behind these tools and the rich heritage that your desktop Linux machine has inherited from Unix supercomputers of...
- Improvement: TGMCircle -> modified all Set and ShowElements methods to use the new method ChangeProperties inherited from TLinkedComponent - Improvement: GMFunctions -> added new functions of ...