eclipse设置jsp字符编码
点击Windows,选中Preferences,找到Web菜单下的JSP Files,修改Encoding为ISO 10646/Unicode(UTF-8)即可
Loading class `com.mysql.jdbc.Driver
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary....... WARN: Establishing SSL connection without server's identity v...
MAVEN提示invalid LOC header (bad signature)
Caused by: java.util.zip.ZipException: invalid LOC header (bad signature)at java.util.zip.ZipFile.read(Native Method)at java.util.zip.ZipFile.access$1400(ZipFile.java:60)at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:717)at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(Zip...
MySQL server PID file could not be found!
root@s1 Downloads]# service mysql restartMySQL server PID file could not be found! [FAILED][root@s1 Downloads]# service mysql stopMySQL server PID file could not be found! &nbs...
Error 1045(28000) Access Denied for user 'root'@'localhost'
Error 1045(28000) Access Denied for user 'root'@'localhost'1.修改my.ini配置文件,找到[mysqld]一行,在下面添加skip-grant-tables后保存,重启mysql服务。2.然后执行 mysql -u root mysql mysql>update user set password=password('newpassword') where user='root'; &nbs...
MySQL之——RPM方式安装MySQL5.6
转载请注明出处:http://blog.csdn.net/l1028386804/article/details/539346561.检查MySQL及相关RPM包 检查MySQL及相关RPM包,是否安装,如果有安装,则移除(rpm –e 名称)[plain] copy [root@localhost ~]# rpm -qa | grep -i mysq...
国内linux apt-get sources.list 163 正规源
deb http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse deb-src http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse deb http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted deb-src http://mirror...
设计模式学习
作者:Pickle 出处:http://www.cnblogs.com/wxisme/ 设计模式总结 设计模式(Design Patterns)是可复用面向对象软件的基础,是一套被反复使用、多数人知晓的、经过分类编目的、代码设计经验的总结。使用设计模式是为了可重用代码,让代码更容易被他人...
JAVA动态代理
http://www.cnblogs.com/flyoung2008/p/3251148.html
ORACLE 企业管理器 EM 新建/修复完全解决方案!
来源:oracle86中文网原创 作者:鸽子简要流程:1、1 删除当前的 Database Control 资料档案库。命令为:emca -repos drop1、2 创建新的 Database Control 资料档案库。命令为:enca -reops create1、3 配置、部署数据库的 Database Control EM资料档案库。命令为:emca -config dbcontrol db1、4 查看此EM的运行状...
如果要增加新的问题及其答案,能否仅修改资源文件就实现增加新的问题
1)修改strings.xml <string-array name="questions"> <item>这个问题无法解决吗?:1</item> <item>android 考试会及格吗?:1</item>  ...
问题描述已经分离在资源文件中,如何将answer也分离在资源文件中?
1)修改strings.xml <string name="question_oceans">1The Pacific Ocean is larger than the Atlantic Ocean</string> <string name="question_mideast">2The Suez Canal connects the Red Sea and the Indian Ocean</string> <string name="question_africa">3the ...
.增加两个按钮(prev,next)实现问题的遍历
1)修改strings.xml,增加两个按钮和5个问题 <string name="next_button">next one</string> <string name="prev_button">prev_button</string> <string name="question_oceans">1The Pacific Ocean is larger than the Atlantic Ocean</string> <str...
除了课堂上介绍的设置的监听器的方法,还有哪些办法实现按钮的响应?
方法一:指定按钮功能 1)Activity_main.xml增加两个按钮: <Button android:layout_width="wrap_content" android:layout_height="wrap_content" &n...
Android开发环境搭建
1.下载JDK:下载地址:http://www.oracle.com/technetwork/java/index.html这里选择下载Java SE(标准版本)即可。 2.安装JDK、配置环境变量: 这台电脑->属性->高级->环境变量->系统变量中添加以下环境变量:JAVA_HOME值为: C:\Program Files\Java\jdk1.7.0_21...
对记录型信号量的理解
转载自http://blog.chinaunix.net/uid-20740497-id-1879214.html 记录型信号量:需要一个用于代表资源数目的整型变量value外,还应增加一个进程链表L,用于链接等待进程。两个数据项可描述为: type semaphore=record &nb...
用余3码表示十进制数
余3码是一种BCD码,它是由8421码加3后形成的(即余3码是在8421码基础上每位十进制数BCD码再加上二进制数0011得到的)。首先用8421码表示出0~9,再在BCD吗的基础上加0011,则可得到余3码,如下图所示: 十进制数 8421码 余3码 0 ...
CS:IP
A> 段地址在8086 CPU的段寄存器中存放,当086 CPU要访问内存时,由段寄存器提供内存单元的段地址。8086 CPU有4个段寄存器,其中CS用来存放指令的段地址。 B> CS 存放指令的段地址,IP存放指令的偏移地址。8086 机中,任意时刻,CPU将CS:IP 指向的内容当作指令来执行。 C> 8086 CPU 的工作过程: ...
UML类图五种关系与代码的对应关系
五种关系的耦合强弱比较:依赖<关联<聚合<组合<继承一、依赖关系: 1.说明:虚线+剪头,可描述为Use a 依赖是类的5种关系中耦合最小的一种关系,因为在生成代码的时候,这...
原码反码补码移码
原码: 如果机器字长为n,那么一个数的原码就是用一个n位的二进制数,其中最高位为符号位:正数为0,负数为1。剩下的n-1位表示概数的绝对值。例如: X=+101011 , [X]原= 00101011 X=-101011 , [X]原= 10101011 位数不够的用0补全。 PS:正数的原、反、补码都一样:0的原码跟反...