IBM websphere6.1 不支持泛型、int-Integer类型的自动装箱和拆箱问题
来源:互联网 发布:罗马杆窗帘尺寸算法 编辑:程序博客网 时间:2024/06/11 16:25
Websphere6.1默认的JSP编译器为JDK1.3 BT啊!!!!!
所以必须手动更改为1.5,否则不能识别JDK1.5的语法
解决办法如下:
1、找到 E:/del/WebSphere/AppServer/profiles/BBS/config/cells/0158b9e7271b4d9Node02Cell/applications/BBS2007_war.ear/deployments/BBS2007_war/BBS2007.war/WEB-INF/ibm-web-ext.xmi
在最后面的 </webappext:WebAppExtension> 前添加下面一行:
<jspAttributes xmi:id="JSPAttribute_113" name="jdkSourceLevel" value="15"/>
2、找到E:/del/WebSphere/AppServer/profiles/BBS/installedApps/0158b9e7271b4d9Node02Cell/BBS2007_war.ear/BBS2007.war/WEB-INF/ibm-web-ext.xmi
在最后面的 </webappext:WebAppExtension> 前添加下面一行:
<jspAttributes xmi:id="JSPAttribute_113" name="jdkSourceLevel" value="15"/>
然后删除编辑产生的缓存文件,重新启动服务器,一切OK
- IBM websphere6.1 不支持泛型、int-Integer类型的自动装箱和拆箱问题
- IBM websphere6.1 jsp不支持泛型解决办法
- 谈谈JDK1.5新特性之Integer与int的自动装箱和自动拆箱
- int Integer 装箱 拆箱 自动装箱 自动拆箱
- Java中Integer与int类型的装箱和拆箱
- Java中Integer与int类型的比较--装箱和拆箱
- Java中Integer与int类型的比较--装箱和拆箱
- Integer 和 int 的区别 (自动装箱 与 拆箱)
- Integer的自动装箱以及Int比较
- 巧记Integer int 自动装箱与拆箱
- Integer.valueOf(int i)与自动拆箱与装箱
- 关于Integer自动装箱和拆箱的小知识
- Integer的自动拆箱装箱陷阱
- Integer的自动装箱与拆箱
- Integer的自动拆箱和自动装箱的陷阱(整型数-128到127的值比较问题)
- 自动装箱与自动拆箱(jdk1.5后)(以int和Integer为例)
- Integer自动装箱拆箱
- java中int和Integer的==比较和拆箱装箱
- [扫图]Mobile Market小册子:G3引领新生活
- php 基本的图形处理函数
- 我的第一篇博客
- Java 多线程调用 C++ dll
- 一个温州老板的创业经历
- IBM websphere6.1 不支持泛型、int-Integer类型的自动装箱和拆箱问题
- 前置++与后置++
- DOM树创建与解析xml
- 树状菜单展示
- const用法小议
- byte相互转换的程序
- Hibernate基本步骤
- 破局!
- const用法