- 浏览: 12303 次
- 性别:
- 来自: 杭州
最近访客 更多访客>>
文章列表
http://www.iteye.com/topic/127750
类似问题,MS-SQL200,端口从2433改为1433,本地连远程数据库,报错,远程运行OK
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection timed out: connect)
“
查了半天解決的辦法: 打开程序 Microsoft SQL Server 服务器网络使用工具 1、打开该工具后,在"常规&q ...
问题:关于静态页乱码的问题,动态访问jsp正常,用程序生成静态页后就乱码,但静态页源码正常,本来就utf-8格式,另存为utf-8然后覆盖就又正常了。百度“静态页乱码,另存为”只找到一条有用信息,http://www.phpfans.net/ask/discuss3/888659406.html ,
<meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="Content-Language" conte ...
<bean:write name="time" scope="request" format="yyyy-MM-dd HH:mm:ss"/>
- 2009-11-13 09:50
- 浏览 665
- 评论(0)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<ME ...
- 2009-10-14 15:47
- 浏览 932
- 评论(0)
Hibernate 配置文件:
<bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
<property name="dataSource">
<ref local="dataSource" />
</property>
<!-- hiberante配置文件 -->
<property na ...
- 2009-10-10 10:30
- 浏览 1436
- 评论(0)
我采用的是UTF-8格式的,想解决的中文乱码问题是
1、点击网站中URL中带中文的链接,例如
http://www.qqddc.com/shopSAction.do?action=list&keyWords=富士达
2、点击网站中的URL中中文带转码后的链接,例如
http://www.qqddc.com/shopSAction.do?action=list&keyWords=%E5%AF%8C%E5%A3%AB%EF%BF%BD
3、通过带中文的链接,js encodeURI 处理提交的,例如
< ...
控制台报的错误
The processing instruction target matching "[xX][mM][lL]" is not allowed.
Nested exception:
org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseE ...
- 2009-09-16 19:01
- 浏览 1062
- 评论(1)
2009-9-14 16:16:54 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet jsp threw exception
java.lang.IllegalStateException: getOutputStream() has already been called for this response
at org.apache.catalina.connector.Response.getWriter(Response.java:610)
at or ...
- 2009-09-14 16:37
- 浏览 990
- 评论(0)
原文地址:http://blog.csdn.net/gabriel80/archive/2008/11/15/3304751.aspx
以下是javaScript中的String使用方法:
String 类 Attribute and methodanchor() 创建一个<a>标签的实例,将其name属性设置为被传递给此方 ...
- 2008-12-24 15:08
- 浏览 1188
- 评论(0)
地址:http://hi.baidu.com/rongjch/blog/item/46a16cfb2413be66024f56cb.html
数组有四种定义的方式
使用构造函数:var a = new Array();var b = new Array(8);var c = new Array("first", "second", "third");或者数组直接量:var d = ["first", "second", "third"];
属性
Array只 ...