博客园 - SmartDog
uuid:24b78886-0ed1-41c2-8670-e3f31dcf42c4;id=185255
2019-08-19T02:18:30Z
SmartDog
https://www.cnblogs.com/smartdog/
feed.cnblogs.com
https://www.cnblogs.com/smartdog/archive/2013/03/30/2990875.html
firefox播放优酷,土豆视频,出现 “浏览器兼容性问题,视频不能播放了”的解决方法 - SmartDog
来源:http://tieba.baidu.com/p/2241607632原因:adblock plus屏蔽了td.atm.youku.com。而播放器会从这个地址获取广告,如果第一次获取失败,会隔一会儿再访问它,连续几次依旧不能访问,就会显示兼容性问题需要在adblock plus规则里放行td.atm.youku.com方法1:打开一个土豆视频,然后点 ABP>打开可过滤项目,在下面的过滤规则中找到td.atm.youku.com,然后在该行上右键,选“将该项加入白名单”即可。方法2:点 ABP>过滤规则首选项>自定义过滤规则,点添加过滤规则,输入 @@||td.atm
2013-03-30T12:08:00Z
2013-03-30T12:08:00Z
SmartDog
https://www.cnblogs.com/smartdog/
【摘要】来源:http://tieba.baidu.com/p/2241607632原因:adblock plus屏蔽了td.atm.youku.com。而播放器会从这个地址获取广告,如果第一次获取失败,会隔一会儿再访问它,连续几次依旧不能访问,就会显示兼容性问题需要在adblock plus规则里放行td.atm.youku.com方法1:打开一个土豆视频,然后点 ABP>打开可过滤项目,在下面的过滤规则中找到td.atm.youku.com,然后在该行上右键,选“将该项加入白名单”即可。方法2:点 ABP>过滤规则首选项>自定义过滤规则,点添加过滤规则,输入 @@||td.atm <a href="https://www.cnblogs.com/smartdog/archive/2013/03/30/2990875.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/smartdog/archive/2013/03/18/2966763.html
Windows Server 2008 R2 配置笔记,密码设置为任意长度,远程桌面终端连接数的设置 - SmartDog
图片显示不完全时,可在新标签页打开。Windows Server 2008 R2 配置{ 安装企业版(Enterprise Editon),因为企业版功能全面,并且比数据中心版更容易配置{ 各版本功能概述在版本概览页面。详细参数对比在版本概览页面右边有链接:按服务器角色的版本对比,按Server Core安装选项的版本对比,按版本的功能区别对比,按技术规范的版本对比 } 安装完后,根据提示配置网络,计算机名和域,自动更新策略,远程桌面 然后关闭UAC(可选),如果是生产用,则不推荐}Windows Server 2008 R2 密码设置为任意长度{ http://zhidao.baidu.co
2013-03-18T12:52:00Z
2013-03-18T12:52:00Z
SmartDog
https://www.cnblogs.com/smartdog/
【摘要】图片显示不完全时,可在新标签页打开。Windows Server 2008 R2 配置{ 安装企业版(Enterprise Editon),因为企业版功能全面,并且比数据中心版更容易配置{ 各版本功能概述在版本概览页面。详细参数对比在版本概览页面右边有链接:按服务器角色的版本对比,按Server Core安装选项的版本对比,按版本的功能区别对比,按技术规范的版本对比 } 安装完后,根据提示配置网络,计算机名和域,自动更新策略,远程桌面 然后关闭UAC(可选),如果是生产用,则不推荐}Windows Server 2008 R2 密码设置为任意长度{ http://zhidao.baidu.co <a href="https://www.cnblogs.com/smartdog/archive/2013/03/18/2966763.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/smartdog/archive/2013/01/30/2882794.html
win7 远程桌面设置 - SmartDog
来源{ win7 修改远程桌面端口号{ http://www.htmer.com/article/279.htm http://os.51cto.com/art/200512/13863.htm } win7 关闭自动待机{ http://zhidao.baidu.com/question/136489348 http://zhidao.baidu.com/question/141530568 }}win7 修改远程桌面端口号{ 开始>运行>regedit 修改{ 位置{ HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Ter
2013-01-30T04:53:00Z
2013-01-30T04:53:00Z
SmartDog
https://www.cnblogs.com/smartdog/
【摘要】来源{ win7 修改远程桌面端口号{ http://www.htmer.com/article/279.htm http://os.51cto.com/art/200512/13863.htm } win7 关闭自动待机{ http://zhidao.baidu.com/question/136489348 http://zhidao.baidu.com/question/141530568 }}win7 修改远程桌面端口号{ 开始>运行>regedit 修改{ 位置{ HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Ter <a href="https://www.cnblogs.com/smartdog/archive/2013/01/30/2882794.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/smartdog/archive/2013/01/22/2871437.html
Windows 7 把用户数据、软件配置数据、软件默认安装位置移动到其他分区的方法 - SmartDog
来源{ http://sacookbook.blogspot.com/2011/02/moving-cusers-and-cprogramdata-to.html(需FQ) http://superuser.com/questions/445654/how-to-move-completely-the-programdata-folder-from-one-partition-in-to-another-p http://llloo.cn/archives/1018.html http://www.siqiboke.com/post/108.html}作用{ 1 减小C:大小 2 安装软件可以
2013-01-22T07:12:00Z
2013-01-22T07:12:00Z
SmartDog
https://www.cnblogs.com/smartdog/
【摘要】来源{ http://sacookbook.blogspot.com/2011/02/moving-cusers-and-cprogramdata-to.html(需FQ) http://superuser.com/questions/445654/how-to-move-completely-the-programdata-folder-from-one-partition-in-to-another-p http://llloo.cn/archives/1018.html http://www.siqiboke.com/post/108.html}作用{ 1 减小C:大小 2 安装软件可以 <a href="https://www.cnblogs.com/smartdog/archive/2013/01/22/2871437.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/smartdog/archive/2013/01/21/2870555.html
32位Windows系统 硬盘安装64位Windows 7 - SmartDog
来源{ http://www.itkee.com/os/detail-3df.html http://btoss.com/post/637/}64位Windows 7{ 文件名: cn_windows_7_ultimate_with_sp1_x64_dvd_u_677408.iso (3.18 GB) 下载地址: ed2k://|file|cn_windows_7_ultimate_with_sp1_x64_dvd_u_677408.iso|3420557312|B58548681854236C7939003B583A8078|/ 发布日期(UTC): 5/12/2011 2:46:19 PM
2013-01-21T15:01:00Z
2013-01-21T15:01:00Z
SmartDog
https://www.cnblogs.com/smartdog/
【摘要】来源{ http://www.itkee.com/os/detail-3df.html http://btoss.com/post/637/}64位Windows 7{ 文件名: cn_windows_7_ultimate_with_sp1_x64_dvd_u_677408.iso (3.18 GB) 下载地址: ed2k://|file|cn_windows_7_ultimate_with_sp1_x64_dvd_u_677408.iso|3420557312|B58548681854236C7939003B583A8078|/ 发布日期(UTC): 5/12/2011 2:46:19 PM <a href="https://www.cnblogs.com/smartdog/archive/2013/01/21/2870555.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/smartdog/archive/2013/01/09/2853749.html
php开发nagios插件的方法 - SmartDog
来源{ Nagios的插件介绍 http://os.51cto.com/art/201103/249956.htm Nagios插件开发指导 http://cuiyingfeng.blog.51cto.com/43841/618190 通过自己编写的插件来使用 Nagios http://www.ibm.com/developerworks/cn/aix/library/au-nagios/index.html }demo如下<?php/** * php开发nagios插件的demo * 功能: 检测mysql的版本号 */$result="";$con = mysq
2013-01-09T14:18:00Z
2013-01-09T14:18:00Z
SmartDog
https://www.cnblogs.com/smartdog/
【摘要】来源{ Nagios的插件介绍 http://os.51cto.com/art/201103/249956.htm Nagios插件开发指导 http://cuiyingfeng.blog.51cto.com/43841/618190 通过自己编写的插件来使用 Nagios http://www.ibm.com/developerworks/cn/aix/library/au-nagios/index.html }demo如下<?php/** * php开发nagios插件的demo * 功能: 检测mysql的版本号 */$result="";$con = mysq <a href="https://www.cnblogs.com/smartdog/archive/2013/01/09/2853749.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/smartdog/archive/2013/01/09/2853709.html
PL/SQL Developer 连接远程oracle的方法 - SmartDog
来源{ http://www.2cto.com/database/201112/114436.html http://blog.zol.com.cn/2169/article_2168783.html http://www.cnblogs.com/xiaoxiangfeizi/archive/2012/04/10/2440118.html http://my.oschina.net/whp/blog/36591 }本机未安装oracle从第1步执行到完,本机已安装oracle可跳过第2步。1 下载并安装 PL/SQL Developer{ PLSQL Developer 9.06.166...
2013-01-09T13:49:00Z
2013-01-09T13:49:00Z
SmartDog
https://www.cnblogs.com/smartdog/
【摘要】来源{ http://www.2cto.com/database/201112/114436.html http://blog.zol.com.cn/2169/article_2168783.html http://www.cnblogs.com/xiaoxiangfeizi/archive/2012/04/10/2440118.html http://my.oschina.net/whp/blog/36591 }本机未安装oracle从第1步执行到完,本机已安装oracle可跳过第2步。1 下载并安装 PL/SQL Developer{ PLSQL Developer 9.06.166... <a href="https://www.cnblogs.com/smartdog/archive/2013/01/09/2853709.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/smartdog/archive/2012/12/26/2834617.html
Aptana修改zen-coding快捷键为Tab - SmartDog
参考{ 官方键盘按键对照表: https://wiki.appcelerator.org/display/tis/Ruble+Specification#RubleSpecification-KeyBindings }安装zen-coding后,可在用户目录下找到Aptana Rubles,zen-coding就在这个目录下,如C:\Documents and Settings\fz1\Aptana Rubles\zen-coding.ruble\commands修改此目录下的expand_abbreviation.rb文件,查找cmd.key_binding = "M1+E&quo
2012-12-26T11:06:00Z
2012-12-26T11:06:00Z
SmartDog
https://www.cnblogs.com/smartdog/
【摘要】参考{ 官方键盘按键对照表: https://wiki.appcelerator.org/display/tis/Ruble+Specification#RubleSpecification-KeyBindings }安装zen-coding后,可在用户目录下找到Aptana Rubles,zen-coding就在这个目录下,如C:\Documents and Settings\fz1\Aptana Rubles\zen-coding.ruble\commands修改此目录下的expand_abbreviation.rb文件,查找cmd.key_binding = "M1+E&quo <a href="https://www.cnblogs.com/smartdog/archive/2012/12/26/2834617.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/smartdog/archive/2012/12/26/2834562.html
ubuntu 12.04 lts安装完的设置 - SmartDog
ubuntu/mint添加ll命令,加快ping域名和ssh的速度来源{ http://ubuntuforums.org/showthread.php?t=1357310 http://ubuntuforums.org/showthread.php?t=1960183 http://www.techpage3.com/2012/04/fix-for-slow-ssh-connection.html}在/etc/bash.bashrc中查找alias,按格式添加{ #添加自定义命令ll alias ll='ls -l' #加快ping域名的速度 alias ping='p
2012-12-26T10:13:00Z
2012-12-26T10:13:00Z
SmartDog
https://www.cnblogs.com/smartdog/
【摘要】ubuntu/mint添加ll命令,加快ping域名和ssh的速度来源{ http://ubuntuforums.org/showthread.php?t=1357310 http://ubuntuforums.org/showthread.php?t=1960183 http://www.techpage3.com/2012/04/fix-for-slow-ssh-connection.html}在/etc/bash.bashrc中查找alias,按格式添加{ #添加自定义命令ll alias ll='ls -l' #加快ping域名的速度 alias ping='p <a href="https://www.cnblogs.com/smartdog/archive/2012/12/26/2834562.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/smartdog/archive/2012/12/21/2828615.html
eclipse java code style template 设置方法 - SmartDog
来源{ http://chenzhou123520.iteye.com/blog/1625629 (快速配置) http://chenzhou123520.iteye.com/blog/1627618 (JavaDoc 检测插件 Checkstyle)}默认快捷键: Alt+Shift+J位置: windows>preference>Java>code style>code templatescomments设置注释的格式{ Files: 文件注释 Types: 类注释 Fileds: 区域注释 Constructors: 构造方法注释 Methods: 普通方法注释
2012-12-21T14:49:00Z
2012-12-21T14:49:00Z
SmartDog
https://www.cnblogs.com/smartdog/
【摘要】来源{ http://chenzhou123520.iteye.com/blog/1625629 (快速配置) http://chenzhou123520.iteye.com/blog/1627618 (JavaDoc 检测插件 Checkstyle)}默认快捷键: Alt+Shift+J位置: windows>preference>Java>code style>code templatescomments设置注释的格式{ Files: 文件注释 Types: 类注释 Fileds: 区域注释 Constructors: 构造方法注释 Methods: 普通方法注释 <a href="https://www.cnblogs.com/smartdog/archive/2012/12/21/2828615.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/smartdog/archive/2012/12/07/2806931.html
将一个应用程序添加到右键 - SmartDog
开始>运行>regedit在HKEY_CLASSES_ROOT\*\shell\下新建项,名称可自定义,如Sublime,给该项右边的(默认)属性赋值,名字为右键菜单中的显示字符串,如Sublime Text。在Sublime项下新建项command,给该项右边的(默认)属性赋值为"D:\SoftWare\Sublime\sublime_text.exe" "%1"关闭注册表,右键里面就添加上Sublime Text了。
2012-12-07T03:50:00Z
2012-12-07T03:50:00Z
SmartDog
https://www.cnblogs.com/smartdog/
【摘要】开始>运行>regedit在HKEY_CLASSES_ROOT\*\shell\下新建项,名称可自定义,如Sublime,给该项右边的(默认)属性赋值,名字为右键菜单中的显示字符串,如Sublime Text。在Sublime项下新建项command,给该项右边的(默认)属性赋值为"D:\SoftWare\Sublime\sublime_text.exe" "%1"关闭注册表,右键里面就添加上Sublime Text了。 <a href="https://www.cnblogs.com/smartdog/archive/2012/12/07/2806931.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/smartdog/archive/2012/12/05/2802878.html
Word 无法创建工作文件,请检查临时环境变量。解决方法 - SmartDog
来源:http://hi.baidu.com/luo_colin/item/74307cb4ad0ec477244b09a3 http://blog.csdn.net/malelionofwakeup/article/details/6185489 现象:打开word文件时,会弹出3个警告框“Word 无法创建工作文件,请检查临时环境变量”原因:使用了内存盘Primo Ramdisk Ultimate Edition软件,修改过IE的缓存目录位置,内存盘崩溃后,这个目录不存在了。由于word要使用IE的缓存路径创建临时文件,所以会弹出上述的警告框。解决方法:开始>运行>regedi
2012-12-05T05:03:00Z
2012-12-05T05:03:00Z
SmartDog
https://www.cnblogs.com/smartdog/
【摘要】来源:http://hi.baidu.com/luo_colin/item/74307cb4ad0ec477244b09a3 http://blog.csdn.net/malelionofwakeup/article/details/6185489 现象:打开word文件时,会弹出3个警告框“Word 无法创建工作文件,请检查临时环境变量”原因:使用了内存盘Primo Ramdisk Ultimate Edition软件,修改过IE的缓存目录位置,内存盘崩溃后,这个目录不存在了。由于word要使用IE的缓存路径创建临时文件,所以会弹出上述的警告框。解决方法:开始>运行>regedi <a href="https://www.cnblogs.com/smartdog/archive/2012/12/05/2802878.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/smartdog/archive/2012/11/26/2788678.html
Sublime Text 2安装配置笔记 - SmartDog
安装版的插件目录 "%APPDATA%\sublime text 2\Packages"绿色版的插件目录 %Sublime_home%\Data\Packages集成php解释器来源{ http://www.moreofless.co.uk/sublime-text-php-build-system/ http://www.xcjs.com/2012/01/02/adding-a-php-build-system-to-sublime-text-2/ http://addyosmani.com/blog/custom-sublime-text-build-systems-f
2012-11-26T02:47:00Z
2012-11-26T02:47:00Z
SmartDog
https://www.cnblogs.com/smartdog/
【摘要】安装版的插件目录 "%APPDATA%\sublime text 2\Packages"绿色版的插件目录 %Sublime_home%\Data\Packages集成php解释器来源{ http://www.moreofless.co.uk/sublime-text-php-build-system/ http://www.xcjs.com/2012/01/02/adding-a-php-build-system-to-sublime-text-2/ http://addyosmani.com/blog/custom-sublime-text-build-systems-f <a href="https://www.cnblogs.com/smartdog/archive/2012/11/26/2788678.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/smartdog/archive/2012/11/06/2757372.html
eclipse使用国内镜像站点安装插件 - SmartDog
把eclipse 4.x的界面改为经典样式打开eclipse,菜单栏>windows>preference>general>appearance>theme>classic>ok,如下图:然后重启eclipse。如下图:打开eclipse,菜单栏>help>install new software>available software sites,如下图根据默认的官方网址改成国内镜像源,例如:可以据此添加国内的eclipse源,把 http://download.eclipse.org/ 替换为 http://mirrors.ustc
2012-11-06T09:28:00Z
2012-11-06T09:28:00Z
SmartDog
https://www.cnblogs.com/smartdog/
【摘要】把eclipse 4.x的界面改为经典样式打开eclipse,菜单栏>windows>preference>general>appearance>theme>classic>ok,如下图:然后重启eclipse。如下图:打开eclipse,菜单栏>help>install new software>available software sites,如下图根据默认的官方网址改成国内镜像源,例如:可以据此添加国内的eclipse源,把 http://download.eclipse.org/ 替换为 http://mirrors.ustc <a href="https://www.cnblogs.com/smartdog/archive/2012/11/06/2757372.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/smartdog/archive/2012/11/05/2754799.html
apache 添加虚拟目录 - SmartDog
参考 http://stackoverflow.com/questions/10873295/forbidden-you-dont-have-permission-to-access-on-this-server 修改目录访问的全局配置<Directory />段,改为<Directory /> Options Indexes FollowSymLinks Includes ExecCGI AllowOverride none Order allow,deny Allow from all</Directory>然后在httpd.conf结尾添加Alias
2012-11-05T03:11:00Z
2012-11-05T03:11:00Z
SmartDog
https://www.cnblogs.com/smartdog/
【摘要】参考 http://stackoverflow.com/questions/10873295/forbidden-you-dont-have-permission-to-access-on-this-server 修改目录访问的全局配置<Directory />段,改为<Directory /> Options Indexes FollowSymLinks Includes ExecCGI AllowOverride none Order allow,deny Allow from all</Directory>然后在httpd.conf结尾添加Alias <a href="https://www.cnblogs.com/smartdog/archive/2012/11/05/2754799.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/smartdog/archive/2012/11/03/2752609.html
检测dns在本机是否可用的方法 - SmartDog
开始>运行>cmd,然后执行命令: nslookup www.baidu.com 待检测DNS的IP地址例如检测google公用DNS(IP为8.8.8.8)在本机是否可用: nslookup www.baidu.com 8.8.8.8下面是我检测出来的一些可用DNS北京网通202.106.0.20202.106.196.115202.106.46.151202.106.195.68北京铁通211.98.4.1211.98.2.4中国网通 辽宁省202.107.82.65
2012-11-03T06:27:00Z
2012-11-03T06:27:00Z
SmartDog
https://www.cnblogs.com/smartdog/
【摘要】开始>运行>cmd,然后执行命令: nslookup www.baidu.com 待检测DNS的IP地址例如检测google公用DNS(IP为8.8.8.8)在本机是否可用: nslookup www.baidu.com 8.8.8.8下面是我检测出来的一些可用DNS北京网通202.106.0.20202.106.196.115202.106.46.151202.106.195.68北京铁通211.98.4.1211.98.2.4中国网通 辽宁省202.107.82.65 <a href="https://www.cnblogs.com/smartdog/archive/2012/11/03/2752609.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/smartdog/archive/2012/10/26/2741444.html
Rational Rose 2003 启动提示 java.lang.ClassNotFoundException 的解决方法 - SmartDog
来源 http://www.cnblogs.com/Impulse/archive/2008/07/25/1251182.html 使用修改注册表方法1.打开注册表2.定位到"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Java VM"3.新建项 TrustedClasspath [REG_SZ](字符串值)4.其数值数据为(1)windows 2000c:\winnt\java\trustlib\rosedatamodeler.zip;c:\winnt\java\trustlib\comwrappers.zip;c:\winnt\java\
2012-10-26T08:32:00Z
2012-10-26T08:32:00Z
SmartDog
https://www.cnblogs.com/smartdog/
【摘要】来源 http://www.cnblogs.com/Impulse/archive/2008/07/25/1251182.html 使用修改注册表方法1.打开注册表2.定位到"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Java VM"3.新建项 TrustedClasspath [REG_SZ](字符串值)4.其数值数据为(1)windows 2000c:\winnt\java\trustlib\rosedatamodeler.zip;c:\winnt\java\trustlib\comwrappers.zip;c:\winnt\java\ <a href="https://www.cnblogs.com/smartdog/archive/2012/10/26/2741444.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/smartdog/archive/2012/10/19/2731207.html
Windows XP下创建目录的符号链接 - SmartDog
微软提供了叫做Junction的链接工具,和vista/win7下的mklink、linux下的ln -s 类似。下载地址:http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx把junction.exe解压到c:\wondows\system32下,就能使用了。使用方法判断一个文件是否为符号链接junction c:\test列出目录下的符号链接junction -s c:\创建一个指向"c:\Program Files"的符号链接d:\link,也就是d:\link目录下的文件实际上在"c:\
2012-10-19T08:07:00Z
2012-10-19T08:07:00Z
SmartDog
https://www.cnblogs.com/smartdog/
【摘要】微软提供了叫做Junction的链接工具,和vista/win7下的mklink、linux下的ln -s 类似。下载地址:http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx把junction.exe解压到c:\wondows\system32下,就能使用了。使用方法判断一个文件是否为符号链接junction c:\test列出目录下的符号链接junction -s c:\创建一个指向"c:\Program Files"的符号链接d:\link,也就是d:\link目录下的文件实际上在"c:\ <a href="https://www.cnblogs.com/smartdog/archive/2012/10/19/2731207.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/smartdog/archive/2012/09/24/2700537.html
php 读写mysql的字符编码设置 - SmartDog
php设置mysql的编码,在所有查询前,先执行这条语句mysql_query("set names 'utf8'");与此配合的php字符串编码转换函数为//把gbk编码的字符串转换为utf8编码,返回值为字符串$utf8Str=mb_convert_encoding($gbkStr,"utf8","gbk");
2012-09-24T11:28:00Z
2012-09-24T11:28:00Z
SmartDog
https://www.cnblogs.com/smartdog/
【摘要】php设置mysql的编码,在所有查询前,先执行这条语句mysql_query("set names 'utf8'");与此配合的php字符串编码转换函数为//把gbk编码的字符串转换为utf8编码,返回值为字符串$utf8Str=mb_convert_encoding($gbkStr,"utf8","gbk"); <a href="https://www.cnblogs.com/smartdog/archive/2012/09/24/2700537.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/smartdog/archive/2012/09/20/2696116.html
java web 防止中文乱码 - SmartDog
jsp>jspjsp中index.jsp如果用post提交给result.jsp,那么result.jsp中先设置参数编码<%request.setCharacterEncoding("gbk");%>如果在tomcat/conf/server.xml的 <Connector port="8080" protocol="HTTP/1.1" 中添加 URIEncoding="gbk" 则可以省略 request.setCharacterEncoding("gbk");jsp
2012-09-20T14:40:00Z
2012-09-20T14:40:00Z
SmartDog
https://www.cnblogs.com/smartdog/
【摘要】jsp>jspjsp中index.jsp如果用post提交给result.jsp,那么result.jsp中先设置参数编码<%request.setCharacterEncoding("gbk");%>如果在tomcat/conf/server.xml的 <Connector port="8080" protocol="HTTP/1.1" 中添加 URIEncoding="gbk" 则可以省略 request.setCharacterEncoding("gbk");jsp <a href="https://www.cnblogs.com/smartdog/archive/2012/09/20/2696116.html" target="_blank">阅读全文</a>