Monthly Archives: 三月 2010

jsp中文验证码

网上找到一个不错的中文验证码,稍微改了改,解决了输出时的报错。还不错。代码如下:

改变Eclipse默认编码

windows –> preferences –> General –> Content types –> Text tree –> Jsp 我们设置最下面的Default Encoding为UTF-8即可.