获取contextPath 获取requestURI
分类:
其他好文 时间:
2014-04-29 11:41:46
阅读次数:
313
未命名import java.text.DateFormat;import
java.text.ParseException;import java.text.SimpleDateFormat;import
java.util.Date;import java.util.regex.Pattern;...
分类:
编程语言 时间:
2014-04-29 11:15:46
阅读次数:
619
http://developer.51cto.com/art/201007/214478.htm
分类:
系统相关 时间:
2014-04-29 10:37:46
阅读次数:
540
原文:C#语音朗读文本 — TTS的实现TTS, Text To
Speech的缩写,是使用语音朗读文本的技术。目前,在国内应用较多的是排队叫号系统Windows 平台的TTS,通常使用的是微软自带的 Speech
API。Windows XP 自带的是 Speech API 5.1,默认是只支持英...
分类:
其他好文 时间:
2014-04-29 10:33:46
阅读次数:
409
1、使用FileStream读写文件文件头:[csharp]view
plaincopyprint?usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.IO;读文件核心代码:[csharp]view
pla...
分类:
其他好文 时间:
2014-04-29 10:33:46
阅读次数:
434
add the following text to .vimrc or .gvimrc: if
has("cscope") set csprg=/usr/bin/cscope set csto=0 set cst set nocsverb " add
any database in cur...
分类:
其他好文 时间:
2014-04-29 10:27:46
阅读次数:
398
1.整页缓存:优点:实现简单,缺点:消耗服务器内存2.片段缓存:优点:节省内存
缺点:实现麻烦3.应用程序缓存:优点:不局限缓存网页,缓存对象多样 确定:实现相对复杂
分类:
其他好文 时间:
2014-04-29 09:48:46
阅读次数:
248
终于有时间静下来总结一下最近的工作。第一个就是html编辑器:首先是编辑器的选择,之前用的是ewebeditor,功能很强大,出于粘贴word内容得安装插件的原因,暂时放弃。ewebeditor的配置也很方便,代码如下:"
/>默认选择office2003皮肤,因此改默认字体大小可以修改相应的皮肤。...
分类:
Web程序 时间:
2014-04-29 09:38:46
阅读次数:
440
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Windows;using Sys...
分类:
其他好文 时间:
2014-04-29 09:25:47
阅读次数:
415
eclipse中的maven插件安装之后,window->preference->Maven下的Installation中最好设置成本地的maven路径,然后User
Setting中的setting.xml一般不设置,这样eclipse会直接去~/.m2/下去找本地仓库里面的内容。如果我们已经有了...
分类:
其他好文 时间:
2014-04-29 09:18:47
阅读次数:
988