- 博客(9)
- 收藏
- 关注
原创 mac erl 分布式 源码测试
Plenty of surfing the interwebs ensued, all to no avail. Eventually I tried:$erl -sname gandalf@localhostErlang (BEAM) emulator version 5.5.4 [source] [async-threads:0] [kernel-poll:false]...
2011-01-16 21:11:46
110
原创 jdbc transaction
Question: Does "Connection.setAutoCommit(false)" mean "begin a transaction?"Answer: By default, JDBC connections start in autocommit mode. This means that every executed statement is treated as ...
2011-01-12 17:30:22
106
原创 experience
f,如果n=3,那面f(n)= f(n-1) + 2f(n-2) + 3f(n-3);----------------------------------------------------------G(x){ if(x>=3) { return G(x-1) + 2G(x-2) + 3G(x+3); } if(x
2011-01-12 00:24:56
97
原创 Erlang Bit Syntax
1> Red = 2. 2 2> Green = 61. 61 3> Blue = 20. 20 4> Mem = . ------------------------------------- == 00010 111101 10100Erlang Bit Syntax is nice.
2011-01-04 22:29:45
97
原创 jbpm4.3 与 spring
jbpm4现在还在开发当中,之前在项目里用的4.2还hack了一下它与spring结合的配置文件,现在4.3更新之后,可以用其默认的配置文件jbpm-4.3\install\src\cfg\jbpm\spring.jbpm.cfg.xml 即可,需要把这个文件放到classpath下面,同时引入jbpm.jar。 jbpm与spring的结合其实是jbpm将其一个bean注入了sprin...
2010-01-26 21:30:39
96
flex spring struts 结合 part1
一直对flex的工作机制理解不透,所以走了几天的弯路...学习啊学习,就是理论加实践的迭代. flex与spring结合,使用的是blazeds,它的价值在于在服务端构建了一个特殊的层...hmm,这么来解释它的作用,例如使用flex在eclipse下的插件新建一个mxml文件之后,会自动创建一个相同名字的html文件(还有在.actionScriptProperties下也会加入对应m...
2009-03-05 17:45:12
89
struts2 radio 实现竖排的方法
struts2 radio 标签默认为横排 以下为实现竖排的方法例如 [code="html"][/code] [color=red]注:value="'customer'"-->里面的customer也有单引号,(OGNL方面的原因),customer是默认的选项[/color]在这里radioList是在action里构造的一个HashMap对象.当只有几个radio选...
2009-03-02 17:50:00
512
Servlet service()方法如何获得request和response对象
容器(例如tomcat的容器)在接收到一个请求(例如http的请求)后,容器会根据请求内容构建两个对象,它们分别是在servlet中用到的HttpServletRequest和HttpServletReponse对象.然后容器会根据xml,例如:[code="xml"] action org.apache.struts.action.ActionServlet ...
2008-11-22 15:52:23
399
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人