在Websphere下开发注意

来源:互联网 发布:软件开发经营范围 编辑:程序博客网 时间:2024/05/29 19:29
 

JSP:
 双引号中不能包含双引号,在websphere下会编译出错, eg: arg0="<%=Constants.SERVER_URL_VBMK+Constants.URL_VBMK_RELATIVE+"/newuser.do?destination_url="+Constants.SERVER_URL_FPP+dest_URL%>"
 


Hibernate:
 使用hibernate的setParameter传参数时注意类型匹配,如果是Long则要传Long类型,不能传String,在Websphere下会报错
如果使用setString可以不考虑

 

原创粉丝点击