摘要: The TCP/IP connection to the host localhost, port 1433 has failed. Error: Connection refused: connect. Please verify the connection properties and check that a SQL Server instance is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to 阅读全文
posted @ 2013-06-16 02:10 东泉 阅读(825) 评论(0) 推荐(0)
摘要: struts 与 spring 整合步骤:一、添加struts开发环境 1,先单独添加struts架包,和struts.xml文件 2,修改web.xml文件,把下列代码放进去,配置struts2的核心过滤器.<filter> <filter-name>struts2</filter-name> <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class> </filter><fil 阅读全文
posted @ 2013-05-13 12:39 东泉 阅读(180) 评论(0) 推荐(0)
摘要: CSS层叠样式表优势:使页面结构和表现分离1.引入方式: 1)行内样式:<h2 style="color:#0F0">Hello World</h2> 2)内部样式:<style type="text/css"> h2{ color:#F00; } </style> 3)外部样式:<link href=“a.css” type=“text/css” rel=“stylesheet”/> 推荐 <style type="text/css"> @import url( 阅读全文
posted @ 2013-05-10 15:27 东泉 阅读(184) 评论(0) 推荐(0)
摘要: 基本的注意事项 - 有益的提示 当您写 HTML 文本的时候,你永远也没法确定这些文本在另一台显示器上是如何显示的。一些人使用大显示器,而另一些使用小的。当用户调整视窗的分辨率时,这些文本就会被重新格式化。所以不要通过在文本中添加空行和空格的办法在你的编辑器中格式化文本。HTML 会裁掉文本中所有的空格。任何数量的空格都被按一个空格计数。另外,在 HTML 中,一个空行也被当作一个空格。使用空的段落标记 <p> 去插入一个空行是个坏习惯。用 <br> 标签代替它!(但是不要用 <br> 标签去创建列表。不要着急,您将在稍后的篇幅学习到 HTML 列表。)您也 阅读全文
posted @ 2013-05-08 15:50 东泉 阅读(184) 评论(0) 推荐(0)