WHAT?主要思想:子程序不应因传入参数错误而被破坏WHY?保护程序免遭非法输入的破坏HOW?断言assert denominator != 0 : "denominator should not be 0"; // 启动VM时需要 -ea 参数用以启动assert功能只用于开发、维护阶段用错误处理...
分类:
其他好文 时间:
2014-06-28 20:11:37
阅读次数:
274
Java-Code Style-FormatterView Code设置所有字母都触发内容帮助改为全都触发提示之后,默认情况下按“=”或者空格都会自动补全,这点反而不方便,下面是解决方法:由于MyEclipse没有上述的源代码,需要去对应的Eclipse Standard版本修改并得到jar文件。E...
分类:
系统相关 时间:
2014-06-28 18:37:58
阅读次数:
311
The Java Authentication and Authorization Service (JAAS) is a standard extension to the security in the J2SE Development Kit 5.0. JAAS provides the ab...
分类:
Web程序 时间:
2014-06-21 13:45:27
阅读次数:
310
BACKGROUND OF THE INVENTIONA conventional virtual-machine monitor (VM monitor) typically runs on a computer and presents to other software the abstrac...
分类:
其他好文 时间:
2014-06-21 06:29:43
阅读次数:
181
JSTL目前有3个版本:JSTL1.0、JSTL1.1、JSTL1.2JSTL1.0和JSTL1.1包含jstl.jar和standard.jar这2个jar包,在j2ee4的版本中是需要单独引用这2个jar包的。JSTL1.2在J2EE5里的jar包是jstl-1.2.jar,在J2EE6里是js...
分类:
Web程序 时间:
2014-06-20 22:09:55
阅读次数:
262
原文地址http://www.cnblogs.com/liukemng/p/3725582.html一、项目依赖的jar包:1.Spring框架依赖的jar包:日志:commons-logging-1.1.3.jar;JSTL支持:jakarta-taglibs-standard-1.1.2中的js...
分类:
编程语言 时间:
2014-06-20 20:00:55
阅读次数:
269
问题1:jar包部署在其他电脑上设置vm参数无效@echo off start java -Xmx1028M -Xms1028M -XX:PermSize=100M -XX:MaxPermSize=100M -XX:SurvivorRatio=8 -jar Edition_1.0_fat.jar 要...
分类:
编程语言 时间:
2014-06-20 18:37:34
阅读次数:
340
1. 在 eclipse.ini 中添加 -vm 参数-vm C:\Program Files\Java\jdk1.6.0_07\bin\javaw.exe 1 -startup 2 plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_...
分类:
系统相关 时间:
2014-06-18 10:44:55
阅读次数:
279
BACKGROUNDA virtual machine (VM) architecture logically partitions a physical machine, such that the underlying hardware of the machine is time-shared...
分类:
其他好文 时间:
2014-06-17 23:49:03
阅读次数:
350
因为工作的需要,最近用到了Vm-ware虚拟机,我用的是win7+vmware+ubuntu的配置,相信很多人都用过类似的环境,下面我就说说文件共享的问题,虽然网上有很多教程,但是感觉都不全面,至少我也是找了好几个拼凑起来才搞定这个问题。首先,需要安装VM-tools,这个比较简单,直接借..