- 浏览: 16655 次
- 性别:
- 来自: 长沙
最新评论
文章列表
ognl.OgnlException: target is null for setProperty(null, "smartCard", [Ljava
分装对象没默认无参构造器
java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamException
缺少包:jsr173_1.0_api.jar
Caused by: javax.xml.bind.MarshalException
cxf不能直接返回List数据类型,必须将List二次封装
而且在封装数据必须加上注解
@XmlType(name="imageInfo")
@XmlAccessorType(XmlAccessType.FIELD)
该注解
2012-7-20 17:08:58 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://external.service.imagemanage.huge.com/}IImageServiceService from class com.huge.imagemanage.service.external.IImageService
2012-7-20 17:08:59 org.apache.cxf.phase.Phas ...
create PROCEDURE insertUserCount()
BEGIN
DECLARE countUser VARCHAR(20);
DECLARE userCode VARCHAR(20);
SELECT count(*),us.code INTO countUser,userCode
FROM uiinteractions u join users us on u.userId=us.id
GROUP BY us.id;
INSERT INTO ordercount VALUES(userCode,countUser);
END
CALL ...
struts2能够主动封装成String的list
js动态添加的表单value中多了个空格,提交表达即报404没有result或者input
Struts2拦截器(Interceptor)
++YONG原创,转载请注明
1. 理解拦截器
1.1. 什么是拦截器:
拦截器,在AOP(Aspect-Oriented Programming)中用于在某个方法或字段被访问之前,进行拦截然后在之前或之后加入某些操作。拦截是AOP的一种实现策略。
在Webwork的中文文档的解释为——拦截器是动态拦截
package hehaiwen;
public class DLinkList {
DLinkList prior;
DLinkList next;
Object o;
DLinkList()
{
}
DLinkList(DLinkList prior,DLinkList next,Object o)
{
this.prior=prior;
this.next=next;
this.o=o;
}
}
package hehaiwen;
public class DoubleLinkList {
DLinkList dl;
public Doubl ...
- 2009-07-23 23:06
- 浏览 927
- 评论(0)