Winwebmail3.7.7.1只能发不能收的解决方法
2009-03-10 10:09
239 查看
一 加载资源,一般两种方式,class使用绝对路径,thread使用相对包路径
URL t = Thread.currentThread().getContextClassLoader().getResource("META-INF/log4j.properties");
InputStream in2 = Thread.currentThread().getContextClassLoader().getResourceAsStream("META-INF/log4j.properties");
URL t1 = Bootstrap.class.getResource("/META-INF/log4j.properties");
InputStream in = Bootstrap.class .getResourceAsStream("/META-INF/log4j.properties");
URL t = Thread.currentThread().getContextClassLoader().getResource("META-INF/log4j.properties");
InputStream in2 = Thread.currentThread().getContextClassLoader().getResourceAsStream("META-INF/log4j.properties");
URL t1 = Bootstrap.class.getResource("/META-INF/log4j.properties");
InputStream in = Bootstrap.class .getResourceAsStream("/META-INF/log4j.properties");
相关文章推荐
- Winwebmail能发邮件不能收邮件的解决方法
- eWebEditor不能实现远程文件自动上传的解决方法
- WPF 使用 .net framework 4.0 client profile 不能引用system.web 解决方法(UrlEncode,HtmlEncode)
- 用maven在eclipse中创建web项目时不能创建三个文件夹的解决方法
- Linux Samba服务器只能创建文件 不能打开文件和创建文件夹问题的解决方法
- Extjs4 actioncolumn只能显示图标,不能显示文字的暂时解决方法
- 只能上QQ不能上网的解决方法
- android2.3平台上web页面(html5中使用frame)不能滑动、不允许缩放的解决方法
- vs2005 "automation服务器不能创建对象"解决方法. -- 安装好VS2005 SP1为什么还是不能创建WEB文件
- 使用web方法只能本机连接的解决方法
- maven 不能设置为web3.0人解决方法 Cannot change version of project facet Dynamic Web Module to 3.0.
- Win 7远程桌面客户端退出后,不能再次全屏显示解决方法
- tomcat reload 时报web应用已停止,不能加载jdbc异常的解决方法
- win7系统快捷键Win+E不能打开资源管理器的解决方法
- MyEclipse中安装android ADT 之后不能建WEB工程 解决方法
- VS不能加载web项目的解决方法
- 只能录话筒声音不能录播放内容的解决方法
- Mac自带mail客户端只能收不能发送邮件问题解决
- winwebmail的设置方法
- 关于导入到myeclipse里的web项目不能添加tomcat服务的解决方法