- 浏览: 17212 次
- 性别:
- 来自: 深圳
最新评论
-
lykm02:
Thanks very much. 终于找到解决方案了。谢谢。 ...
jQuery param serialization and Struts2 built in type conversion not compatible
文章列表
Preferences > Java > Editor > Templates > New...
${import:import(org.slf4j.Logger,org.slf4j.LoggerFactory)}
private static Logger logger = LoggerFactory.getLogger(${enclosing_type}.class);
looger<Alt + />
总是忘记root相对哪个路径
<jsp:include page="/index.jsp"/>
<%@include file="index.jsp%>
root: ${project_root}/WebContent/
<c:import url="/index.jsp"/>
root: ${domain_root}
其实<c:import>是面向url的,当然就是以domain root为起始
element.className = element.className;
http://stackoverflow.com/questions/1702399/how-can-i-force-reflow-after-dhtml-change-in-ie7
J2EE (1.4) Specifications
-------------------------------------------------------------------------------------------------------------
Java Servlet Specification 2.4
JavaServer Pages Specification 2.0
Enterprise JavaBeans™ Specification 2.1
Enterprise JavaBeans to CORBA Mapping 1.1
RMI ove ...
通常做firefox的文字溢出显示省略号会用xul的hack,但是有个条件如果没有满足就会失效,使内容变成空白。
这个条件是:
引用引用包含-moz-binding的css的页面必须与该css文件同域,并且也要和ellipsis的xml文件同域
也就是说下面这种情况会失效:
引用http://domain1.company.com/some-page.htm
引用<link rel=stylesheet href=http://domain2.company.com/public/css/ellipsis.css />
<span class=ellipsis style= ...
页面上jQuery需要把一个复杂类型的javascript数组对象作为参数传到Struts2 action,但是他们的默认格式不匹配导致action无法正确获得参数。
Struts2 action
class SomeAction{
List<SomeBean> list;
//getter setter
//execute()
}
class SomeBean{
int id;
//getter setter
}
参数为以下格式(OGNL格式)时,Struts2 action能正确映射
list[0].id=1
但是当jQue ...
make sure to have below lines in .settings/org.eclipse.wst.validation.prefs
USER_BUILD_PREFERENCE=enabledBuildValidatorListorg.eclipse.jst.j2ee.internal.web.validation.UIWarValidator;org.eclipse.jst.j2ee.internal.classpathdep.ClasspathDependencyValidator;
USER_MANUAL_PREFERENCE=enabledManualValidato ...
<iframe src=javascript: style=display:none></iframe>
$('iframe').show()
$('iframe').hide()
<iframe src=javascript: width=0 height=0></iframe>
$('iframe').width(width).height(height)
$('iframe').width(0).height(0)
i intended to pack my action classes in jar file and utilize the convention plugin to initialize them. i did it following this instruction.
the plugin didn't recognize my jar file. >_<
with the source code of convention plugin, i traced to org.apache.struts2.convention.PackageBasedActionC ...
"...祖国的种族战争进行的如火如荼之时..."
"如火如荼"--褒义词!
用褒义词去形容种族战争,给自己戴 反人类 的帽子。
"这是firbug的bug吗,!!!!!!!!!!!!!"
感叹号的滥用随处可见。感叹号是用来加强语气的,这个回复表达了异常强烈的情感,显得莫名其妙。即使是反问句也不需要用到13个感叹号啊。比如他楼下的回复就很正常:"不是bug吧,本来就是这样实现的"。
先不说一个程序员要有多高的技术水平,作为一个人首先要有良好的品质,也就是个人修养。好好地摆事实讲道理,心平气和地做技术交流,不需要针 ...
I'm not picky. As long as she's smart and pretty. And sweet. And gentle and tender and refined and lovely and carefree
For a moment there I thought we were in trouble
<tiles:insertDefinition name="def" ignore="true"/>
Description: "If this attribute is set to true, and the attribute specified by the name does not exist, simply return without writing anything. The default value is false, which will cause a runtime exception to be thro ...
- 2009-10-03 05:48
- 浏览 1290
- 评论(0)
<script src=js/jquery/1.3.2.js></script>
<script src=js/jquery/timers.js></script>
<a name=n1 url=http://g.cn />
<a name=n2 url=http://sohu.com />
<a name=n3 url=http://pcpop.com />
<a href=#n1>g.cn</a>
<a href=#n2>sohu.com</a>
...