1, 使用tomcat做服务器,转移项目文件时可能发生错误。解决方法:
<?xml version="1.0" encoding="UTF-8"?>
<project-module
type="WEB"
name="xmltmpl-demo"
id="myeclipse.1195723838953"
j2ee-spec="1.4"
archive="xmltmpl-demo.war" context-root="xmltmpl-demo">
<attributes>
<attribute name="webrootdir" value="WebRoot" />
</attributes>
</project-module>
在.mymetadata文件中加context-root="/name项值“.即可。
2,对象数组用法 method(parameterA a,object... ob)--jdk1.6的用法
3,java.util.ConcurrentModificationException 问题:
在Map或者Collection的时候,不要用它们的API直接修改集合的内容,如果要修改可以用Iterator的remove()方法.
<?xml version="1.0" encoding="UTF-8"?>
<project-module
type="WEB"
name="xmltmpl-demo"
id="myeclipse.1195723838953"
j2ee-spec="1.4"
archive="xmltmpl-demo.war" context-root="xmltmpl-demo">
<attributes>
<attribute name="webrootdir" value="WebRoot" />
</attributes>
</project-module>
在.mymetadata文件中加context-root="/name项值“.即可。
2,对象数组用法 method(parameterA a,object... ob)--jdk1.6的用法
3,java.util.ConcurrentModificationException 问题:
在Map或者Collection的时候,不要用它们的API直接修改集合的内容,如果要修改可以用Iterator的remove()方法.