第一步:点击要改的项目第二步:File--Properties--就可见下图第三步:把DynamicWebModule勾上确认即可
分类:
编程语言 时间:
2014-06-10 22:30:13
阅读次数:
325
application.getStats()application.getStats()Returns
statistics about an application.ReturnsAn Object whose properties contain
statistics about the app...
分类:
其他好文 时间:
2014-06-10 17:00:22
阅读次数:
208
只需要冲定义该对象的
to_yaml_properties 方法, 只返回要序列化的字段就可以了
class A
attr_reader :a
attr_reader :b
def initialize(x,y)
@a = x
@b = y
end
end
a = A.new(1,3)
p a.to_yaml # => "--- !ruby/object:A...
分类:
其他好文 时间:
2014-06-10 15:54:19
阅读次数:
172
首先,查看SDK版本,一般有两处,第一处是project.properties文件中的target=android-8...
分类:
移动开发 时间:
2014-06-10 14:14:31
阅读次数:
223
最近刚写的有关javaMail发送邮件的代码!
package test;
import java.util.Properties;
import javax.mail.Address;
import javax.mail.BodyPart;
import javax.mail.Message;
import javax.mail.MessagingException;
im...
分类:
编程语言 时间:
2014-06-10 13:40:57
阅读次数:
244
在工程目录上右键, 选properties, 弹出属性窗口, 选中Web Project
Settings, 在右边的Context
root中修改保存即可死马当做活马医在你的工程目录下找到.settings里面的org.eclipse.wst.common.component,修改它的deploy...
分类:
编程语言 时间:
2014-06-10 10:22:13
阅读次数:
250
java mail发送邮件demo,引入mail.jar,运行测试发送ok[代码][Java]代码
01import java.util.Date;02import java.util.Properties;0304import
javax.mail.Authenticator;05import j...
分类:
编程语言 时间:
2014-06-10 10:15:07
阅读次数:
249
this.getClass().getResource("/").getPath();从根目录获取载入文件:this.getClass().getResourceAsStream("/myshop.properties")
分类:
编程语言 时间:
2014-06-09 17:24:54
阅读次数:
282
1.程序运行后异常显示:解决方案:在项目上点击右键->properties->Java
Build Path,remove掉Android Dependences即可
分类:
编程语言 时间:
2014-06-09 00:52:35
阅读次数:
247
最近用java进行一个blowfish的加密算法,但是在我们的eclipse上报出Illegal key
size的错误。google后发现原因是:ymmetricDS加密symmetric.properties中数据库密码产生"Illegal Key
Size"错误根据symmetricDS的gu...
分类:
编程语言 时间:
2014-06-08 18:41:23
阅读次数:
324