上一页 1 ··· 6 7 8 9 10 11 下一页

2018年4月5日

jsp中的contentType与pageEncoding的区别和作用

摘要: jsp中的contentType与pageEncoding的区别和作用 <%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> pageEncoding是jsp文件本身的编码 contentType的charset 阅读全文

posted @ 2018-04-05 19:38 David_Deng 阅读(167) 评论(0) 推荐(0)

PreparedStatement 使用like 模糊查询

摘要: PreparedStatement 使用like 在使用PreparedStatement进行模糊查询的时候废了一番周折,以前一直都没有注意这个问题。一般情况下我们进行精确查询,sql语句类似:select * from table where name =?,然后调用 PreparedStatem 阅读全文

posted @ 2018-04-05 18:01 David_Deng 阅读(3236) 评论(0) 推荐(1)

JSTL fmt 格式化时间

摘要: 使用fmt函数需在jsp中引入 <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %><fmt:formatDate value="${item.expDate}" pattern="yyyy-MM-dd"/>报java.l 阅读全文

posted @ 2018-04-05 18:00 David_Deng 阅读(235) 评论(0) 推荐(0)

DIV居中的几种方法

摘要: DIV居中的几种方法 css居中div的几种常用方法 在开发过程中,很多需求需要我们居中一个div,比如html文档流当中的一块div,比如弹出层内容部分这种脱离了文档流等。不同的情况有不同的居中方式,接下来就分享下一下几种常用的居中方式。 1.text-align:center方式 代码: 1 2 阅读全文

posted @ 2018-04-05 17:13 David_Deng 阅读(10101) 评论(0) 推荐(0)

JSP页面使用EL表达式出现的问题:javax.el.PropertyNotFoundException: Property 'ID' not found on type java.lang.Str

摘要: 问题描述: 1. 后台返回到JSP前台的的list,在jsp页面使用EL表达式遍历时出现如下问题:javax.el.PropertyNotFoundException: Property 'ID' not found on type java.lang.String 2. ID在是int类型。需要在 阅读全文

posted @ 2018-04-05 16:38 David_Deng 阅读(266) 评论(0) 推荐(0)

2018年4月4日

Spring框架找不到 applicationContext.xml文件,可能是由于applicationContext.xml文件的路径没有放在根目录下造成的

摘要: Spring框架找不到 applicationContext.xml文件,可能是由于applicationContext.xml文件的路径没有放在根目录下造成的 阅读全文

posted @ 2018-04-04 10:21 David_Deng 阅读(303) 评论(0) 推荐(0)

2018年4月2日

the install of mysql in Linux System

摘要: 一、下载MySql 浏览器打开 https://www.mysql.com/downloads/mysql/#downloads 下载 我下载的版本是Red Hat 5 版本的 https://www.mysql.com/downloads/mirror.php?id=407552 上传至服务器,或 阅读全文

posted @ 2018-04-02 11:27 David_Deng 阅读(99) 评论(0) 推荐(0)

2018年4月1日

使用图形界面管理工具Navicat for MySQL连接Mysql数据库时提示错误:Can't connect to MySQL server (10060)

摘要: 版权声明:本文为 testcs_dn(微wx笑) 原创文章,非商用自由转载-保持署名-注明出处,谢谢。 https://blog.csdn.net/testcs_dn/article/details/51406712 版权声明:本文为 testcs_dn(微wx笑) 原创文章,非商用自由转载-保持署 阅读全文

posted @ 2018-04-01 16:51 David_Deng 阅读(239) 评论(0) 推荐(0)

Ubuntu无法安装rpm包,ubuntu RPM should not be used directly install RPM packages, use Alien instead!

摘要: Ubuntu无法安装rpm包,ubuntu RPM should not be used directly install RPM packages, use Alien instead! 简单来说,Ubuntu的软件包格式是deb,如果要安装rpm的包,则要先用alien把rpm转换成deb。 s 阅读全文

posted @ 2018-04-01 14:32 David_Deng 阅读(2593) 评论(0) 推荐(1)

2018年3月22日

HTTP 协议中 URI 和 URL 有什么区别?

摘要: HTTP 协议中 URI 和 URL 有什么区别? HTTP = Hyper Text Transfer ProtocolURI = Universal Resource IdentifierURL = Universal Resource Locator URL:(Uniform/Universa 阅读全文

posted @ 2018-03-22 22:27 David_Deng 阅读(413) 评论(0) 推荐(0)

上一页 1 ··· 6 7 8 9 10 11 下一页

导航