After ASP.NET 3.5 has been installed you need
to modify the web.config file of your MOSS web site with a few Ajax specific
entries. Typically, the web...
分类:
Web程序 时间:
2014-05-15 21:16:22
阅读次数:
528
在多网卡的机器上使用RMI时出现异常:java.rmi.ConnectException:Connection refused to host: ......
分类:
其他好文 时间:
2014-05-15 20:30:11
阅读次数:
213
本blog提供了一个简单的通过JDBC驱动建立JDBC连接例程,并分别通过Statement和PreparedStatement实现对数据库的查询。在下一篇blog中将重点比较Statement与PreparedStatement的差异。
1、为项目添加JDBC驱动
1)JDBC驱动下载
官方下载地址:mysql-connector-java-5.0.8.zip...
分类:
数据库 时间:
2014-05-15 07:00:40
阅读次数:
479
使用Eclipse构建Maven的SpringMVC项目
问题一.2.3.2 配置Project Facets 更改Dynamic Web Module的Version为2.5,不能更改2.5的值
问题二.2.3.3 配置 Modify Faceted Project时,找不到Further configuration available…
问题三.建完spring项目后,如何打包发送到tomcat并运行?...
分类:
编程语言 时间:
2014-05-15 01:08:50
阅读次数:
317
dblink = @$func($dbhost,$dbuser,$dbpw) ; if ($halt
&& !$this->dblink) { $this->halt("无法链接数据库!"); } //设置查询字符集
mysql_query("SET character_set_connection...
分类:
数据库 时间:
2014-05-14 22:52:20
阅读次数:
461
在上一篇【Java编程】建立一个简单的JDBC连接-Drivers, Connection, Statement and PreparedStatement我们介绍了如何使用JDBC驱动建立一个简单的连接,并实现使用Statement和PreparedStatement进行数据库查询,本篇blog将接着上篇blog通过SQL注入攻击比较Statement和PreparedStatement。当然这两者还有很多其他方面的不同,在之后的blog中会继续更新。...
分类:
数据库 时间:
2014-05-14 20:44:25
阅读次数:
497
出现no write has been done on this connection解决方案...
分类:
数据库 时间:
2014-05-14 19:42:51
阅读次数:
403
用到的接口和类
1) java.sql.Connection 接口
1)) createStatement() 获得Statement
2)) prepareStatement(String sql) 获得preparedStatement
3)) prepareCall(String sql) 调用存储过程
2)java.sql.DriverManager 类
1))getConnection(String url, String user, String passwor...
分类:
数据库 时间:
2014-05-14 15:14:08
阅读次数:
519
在php开发中遇到两个问题
(1)Cannot send session
cache limiter
解决方式 找到 php.ini 修改php.ini中的 session.auto_start = 0 为 session.auto_start
= 1
(2)Cannot modify header information
解决方式 找...
分类:
Web程序 时间:
2014-05-14 14:28:55
阅读次数:
396
mysql_connect(): Connection using old (pre-4.1.1)
authentication protocol
refused解决方法有如下三种:1、服务器端升级启用secure_auth选项;2、客户端连接时off掉secure_auth,即连接时加上--sec...
分类:
数据库 时间:
2014-05-14 12:42:12
阅读次数:
528