摘要:
本文介绍Spring MVC中转发和重定向的区别。 转发和重定向 开始Java EE时,可能会对转发(forward)和重定向(redirect)这个两个概念不清楚。本文先通过代码实例和运行结果图片感性 认识二者的区别,然后给出二者的定义。 1、常规用法,返回一个View @RequestMappi 阅读全文
posted @ 2018-04-11 16:25
星朝
阅读(223)
评论(0)
推荐(0)
摘要:
阅读目录 一、location.href常见的几种形式二、location.href不同形式之间的区别三、location.href总结四、window.location.href和window.open的区别 使用js的同学一定知道js的location.href的作用是什么,但是在js中关于lo 阅读全文
posted @ 2018-04-11 16:04
星朝
阅读(2132)
评论(0)
推荐(0)
错误处理——According to TLD or attribute directive in tag file, attribute test does not accept any expres
摘要:
应用部署运行的时候出现JSP异常, 发生在使用JSTL库的时候: According to TLD or attribute directive in tag file, attribute value does not accept any expressions, 可能是因为使用了J 阅读全文
posted @ 2018-04-11 15:14
星朝
阅读(227)
评论(0)
推荐(0)
摘要:
在jsp中引入jstl的标签库和函数库 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%><%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix=" 阅读全文
posted @ 2018-04-11 14:59
星朝
阅读(2918)
评论(0)
推荐(0)
摘要:
input标签和fmt:formatDate 在jsp中同时使用引号解决办法 使用input标签设置默认值value并格式化fmt时间格式处理 格式化前: <input type="datetime" class="form control" id="datetimepicker" name= 阅读全文
posted @ 2018-04-11 14:53
星朝
阅读(1097)
评论(0)
推荐(0)
摘要:
理解 RESTREST(Representational State Transfer),中文翻译叫“表述性状态转移”。是 Roy Thomas Fielding 在他2000年的博士论文中提出的。它与传统的 SOAP Web 服务区别在于,REST关注的是要处理的数据,而 SOAP 主要关注行为和 阅读全文
posted @ 2018-04-11 13:30
星朝
阅读(252)
评论(0)
推荐(0)
摘要:
概述nio同步: 自己亲自出马持银行卡到银行取钱(使用同步IO时,Java自己处理IO读写)。异步: 委托一小弟拿银行卡到银行取钱,然后给你(使用异步IO时,Java将IO读写委托给OS处理,需要将数据缓冲区地址和大小传给OS(银行卡和密码),OS需要支持异步IO操作API)。阻塞: ATM排队取款 阅读全文
posted @ 2018-04-11 09:38
星朝
阅读(3827)
评论(0)
推荐(0)
摘要:
原文地址:http://blog.csdn.net/opengl_es/article/details/40979371?utm_source=tuicool&utm_medium=referral 【读后感】 不知道这是什么节奏,也许人家早就春意盎然了,只是我方才感觉到而已! 研究 Min 阅读全文
posted @ 2018-04-11 09:34
星朝
阅读(3612)
评论(0)
推荐(0)

浙公网安备 33010602011771号