显示中文会变成乱码解决方案:Windows- >Pereferences-
>General->Workspace- >Text File Encoding
选项下选择other,然后输入"GBK"即可当然你系统安装了东亚字体的支持才行,控制面板-区域选项里安装。
分类:
系统相关 时间:
2014-05-10 10:12:30
阅读次数:
358
块状元素address - 地址blockquote - 块引用center -
举中对齐块dir - 目录列表div - 常用块级容易,也是CSS layout的主要标签dl - 定义列表fieldset - form控制组form -
交互表单h1 - 大标题h2 - 副标题h3 - 3级标题h...
分类:
Web程序 时间:
2014-05-09 18:57:24
阅读次数:
466
从微软站点:检查指针有效性下面的示例使用 _CrtIsValidPointer
验证给定的内存范围对于读或写是否有效。_ASSERTE(_CrtIsValidPointer( address, size, TRUE );下面的示例使用
_CrtIsValidHeapPointer 验证指针指向本地堆...
分类:
其他好文 时间:
2014-05-09 17:29:58
阅读次数:
259
BOOLEAN MmIsAddressValid( _In_PVOID
VirtualAddress);ParametersVirtualAddress[in]A pointer to the nonpaged virtual
address to check. The caller must e....
分类:
其他好文 时间:
2014-05-09 11:51:40
阅读次数:
535
某个应用正在锁定该表或者包表为select
b.SID,b.SERIAL#,c.SQL_TEXTfrom v$locked_object a, v$session b, v$sqlarea cwhere
a.SESSION_ID = b.SIDand b.SQL_ADDRESS = c.ADDRES...
分类:
其他好文 时间:
2014-05-09 11:06:57
阅读次数:
413
2014.5.5 获取客户端真实ip地址出现问题,解答如下: When you have NAT
(Network Address Translation) device before your servlet
containerrequest.getRemoteAddr()returns the....
分类:
其他好文 时间:
2014-05-07 19:02:49
阅读次数:
261
虚拟主机配置方式: 在 server.xml
文件中配置Host元素,需要指定name(主机名)、appBase(默认web应用存放目录)[可选]appBase目录下所有的web应用,tomcat会自动映射虚拟路径或做实验:
给新配置的虚拟主机配置缺省的web应用 虚拟目录也可在%tomcat目录%...
分类:
其他好文 时间:
2014-05-05 10:57:35
阅读次数:
326
朋友碰到一个问题,就是用virtualbox建了一个ubuntu的虚拟机,但虚拟机里面ip地址是自动生成的,主机和虚拟机无法互通信息。也无法在虚拟机里面建web服务器让外网访问。解决方案:
很简单,在虚拟机network里面设置网络模式为 桥接模式(Bridged Adapter)。ok~安装s.....
分类:
其他好文 时间:
2014-05-05 10:47:07
阅读次数:
352
出现上述错误的原因有以下几种:1) unused
pin没有设置,可能会收到外部信号的干扰;设置未用引脚为As input tri-stated with weak
pull-up.2) 系统时钟信号没有约束,或者SDRAM等存储设备的时钟没有配置正确;3) 系统复位信号没有连接外部复位开关;4) ...
分类:
其他好文 时间:
2014-05-05 09:42:07
阅读次数:
704
We consider permutations of the numbers 1,..., N
for some N. By permutation we mean a rearrangment of the
number 1,...,N. For example
2 4 5 1 7 6 3 8
is a permutation of 1,2,...,8. Of cours...
分类:
其他好文 时间:
2014-05-04 18:38:14
阅读次数:
341