`
moonrub
  • 浏览: 41159 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论
  • 22cgreen: new 也是类加载器加载,也是类加载机制,可以说JAVA类进入 ...
    newinstance
文章列表
1、安装ubuntu 7.10 desktop 安装下列依赖包: gcc, g++, gnu make, tar, bzip2 2、安装plone: 从网站http://plone.org/products/plone下载Plone-3.0.6-UnifiedInstaller.tar.gz到/tmp cd /tmp tar zxvf Plone-3.0.6-UnifiedInstaller.tar.gz cd Plone-3.0.6-UnifiedInstaller ./install.sh standalone 安装完了会显示管理员密码和怎么启动(信息被保存在/opt/Plone-3.0. ...
select constructinfo.depid, constructinfo.depname, canton.CANT_NAME from constructinfo ,canton where canton.id=constructinfo.workplace and  depid not in( select enterprise_id from EnterpriseLastScore where  enterprise_type ='sg') and constructinfo.depname not in ( select 施工单位 from temp1 where   类 ...
Struts2.1.x终于推出正式版了,下载后按照Struts 2.0.14版进行配置,抛出异常说无法装载 (org.apache.struts2.dispatcher.multipart.MultiPartRequest),异常信息提示摘不到 org.apache.commons.fileupload.RequestContext类,搜索struts2.1.6带的所有jar包,发现RequestContext类并不在struts2-core-2.1.6.jar 中,在commons-fileupload-1.2.1.jar包中,之前struts2.0.14并不需要此包,只有在要用到上传组件的时 ...

newinstance

    博客分类:
  • java
在初始化一个类,生成一个实例的时候;newInstance() 和 new 有什么区别?   用newInstance与用new是区别的,区别在于创建对象的方式不一样,前者是使用类加载机制,那么为什么会有两种创建对象方式?这个就要从可伸缩、可扩展 ...
<?xml version="1.0" encoding="UTF-8"?> <project name="delploy" default="main" basedir="."> <!-- ================================================================== --> <!-- 初始化属性                         --> <!-- == ...
#user  nobody; worker_processes  1; #error_log  logs/error.log; #error_log  logs/error.log  notice; #error_log  logs/error.log  info; #pid        logs/nginx.pid; events {     worker_connections  51200; } http {     include       mime.types;     default_type  application/octet-stream;     #log_ ...
最近项目中的下载功能编码出现错误, 找了半天原因在于tomcat service.xml 的字符过滤更改为: URIEncoding="UTF-8"
日期和时间函数对建立一个站点是非常有用的。站点的主人往往对一个表中的数据何时被 更新感兴趣。通过日期和时间函数,你可以在毫秒级跟踪一个表的改变。 返回当前日期和时间 通过函数GETDATE(),你可以获得当前的 ...
js 的变量虽然是弱类型的, 但有时候也需要对变量进行类型转化. 比如字符串类型之间的 + 操作和数字类型之间的 + 是不同的. 以下是两个简单的方法进行字符串类型和数字类型的相互转化(不需要借助任何内置方法) string to number: '123' --> 123 : '123' * 1 number to string: 123  --> '123': 123 + ''
Global site tag (gtag.js) - Google Analytics