1.pom.xml 2.web.xml 3.spring和springmc的配置 3.1 applicationContext-service.xml 3.2 springmvc 4 java代码部分,此demo还涉及到跨域请其他工程接口使用httpclient跨域请求 4.1 相关的propert ...
分类:
编程语言 时间:
2016-11-24 07:09:04
阅读次数:
319
由于最近需要布置mantis用来进行bug追踪,在此记录其过程。 由于PHP apache环境在Mac OS上是自带的,所以不需要另处下安装包,只需要简单配置一下即可。 首先打开终端输入命令: 其中有一行是这样的 将前面的#号去掉。 然后打开系统偏好设置中的共享,将web共享勾上,如下图 重启apa ...
分类:
数据库 时间:
2016-11-24 06:39:34
阅读次数:
186
最近总结了一下在接口测试方面的知识与心得,在这里与大家分享一下,如有说的不对的地方请多多指正。 接口测试概述 定义 API testing is a type of software testing that involves testing application programming inte ...
分类:
Web程序 时间:
2016-11-24 06:36:56
阅读次数:
240
引入form插件与jquery 的js文件后 获取表单的jq对象 然后.ajaxSubmit提交表单即可 实现添加品牌的异步表单提交 ...
分类:
Web程序 时间:
2016-11-23 23:36:51
阅读次数:
224
web 项目中a标签传值(中文)到后台的乱码问题 jsp页面中的a标签: .............. <c:forEach items="${sellerList }" var="seller" > <tr class="data-tr"> <td>${seller.order_number }< ...
分类:
Web程序 时间:
2016-11-23 23:26:15
阅读次数:
204
转:spring AOP自定义注解方式实现日志管理 今天继续实现AOP,到这里我个人认为是最灵活,可扩展的方式了,就拿日志管理来说,用Spring AOP 自定义注解形式实现日志管理。废话不多说,直接开始!!! 关于配置我还是的再说一遍。 在applicationContext-mvc.xml中要添 ...
分类:
编程语言 时间:
2016-11-23 22:10:22
阅读次数:
367
1、Controller类 i、Controller必须为公开类; ii、必须以Controller结尾; iii、继承Controller基类或实现IController接口的类; iv、类中必须包含数个返回值为ActionResult的公开方法,这些方法在MVC中称为Action; 2、Cont ...
分类:
Web程序 时间:
2016-11-23 19:39:57
阅读次数:
175
Naive Solution: use DP, Time O(N^2), Space O(N) dp[i] represents the length of longest increasing subsequence till i including element i in nums array ...
分类:
其他好文 时间:
2016-11-23 08:13:25
阅读次数:
117