摘要: Dealing with missing variablesIn practice the data-model often has variables that are optional (i.e., sometimes missing). To spot some typical human mistakes, FreeMarker doesn't tolerate the referring to missing variables unless you tell them explicitly what to do if the variable is missing. Her 阅读全文
posted @ 2013-04-09 14:23 Onakaumi 阅读(298) 评论(0) 推荐(0) 编辑
摘要: mark 阅读全文
posted @ 2013-01-30 10:59 Onakaumi 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 需要安装gem nokogiri,在Ubuntu下:$ sudo apt-get install libxml2 libxml2-dev libxslt libxslt-dev$ gem install nokogiri 阅读全文
posted @ 2013-01-30 10:58 Onakaumi 阅读(156) 评论(0) 推荐(0) 编辑
摘要: The template If you use JSPs as the template engine you won't be able to test the action output outside the container. The Embedded JSP Plugin can be used to overcome this limitation and be able to use JSPs from the classpath and outside the container.executeAction(String) Pass the url for the.. 阅读全文
posted @ 2013-01-20 11:04 Onakaumi 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 到ATI官方网站上下载Linux平台的驱动。是*.RUN文件。chmod +x *.run*.runsudo aticonfig --initial重启,Ok 阅读全文
posted @ 2013-01-17 11:58 Onakaumi 阅读(272) 评论(0) 推荐(0) 编辑
摘要: http://geeko.ioda.net/mirror/ati/openSUSE_12.2/x86_64/ 阅读全文
posted @ 2013-01-17 10:36 Onakaumi 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 获取List<s:property value="list" />获取List中的某一个元素<s:property value="list[0]" />获取List的大小<s:property value="list.size" />获取Set<s:property value="set" /> 无法获取Set中的某一个元素,因为Set没有顺序获取Map<s:property value="map" />获取Map中所有key的值< 阅读全文
posted @ 2013-01-13 16:46 Onakaumi 阅读(196) 评论(0) 推荐(0) 编辑
摘要: copyPropertiespublic static void copyProperties(Object source, Object target) throws BeansException Copy the property values of the given source bean into the target bean. Note: The source and target classes do not have to match or even be derived from each other, as long as the properties match. .. 阅读全文
posted @ 2013-01-05 16:25 Onakaumi 阅读(835) 评论(0) 推荐(0) 编辑
摘要: struts-default:<package name="struts-default" abstract="true"> <!-- 默认的result 类型 --> <result-types> <result-type name="chain" class="com.opensymphony.xwork2.ActionChainResult"/> <result-type name="dispatcher" class="or 阅读全文
posted @ 2013-01-03 16:35 Onakaumi 阅读(229) 评论(0) 推荐(0) 编辑
摘要: The future of CSS gives us much to be excited about: On the one hand, there’s a whole range of new methods that are going to revolutionize the way we lay out pages on the web; on the other, there’s a new set of graphical effects that will allow on-the-fly filters and shaders. People love this stuff. 阅读全文
posted @ 2013-01-01 09:25 Onakaumi 阅读(247) 评论(0) 推荐(0) 编辑