会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
傲踏天涯
博客园
首页
新随笔
联系
订阅
管理
2016年9月2日
服务器端解决ajax跨域问题
摘要: 这里描述以Tomcat为Web服务器情况下的解决办法,在Java Web程序的WEB-INF下的web.xml文件中加入如下配置即可。 <!--cors filter--> <filter> <filter-name>CorsFilter</filter-name> <filter-class>or
阅读全文
posted @ 2016-09-02 12:24 傲踏天涯
阅读(1125)
评论(0)
推荐(0)
2016年8月30日
springmvc 用fasterxml.jackson返回son数据
摘要: 一,引入fasterxm.jackson包 <bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter"> <property name="messageConverters">
阅读全文
posted @ 2016-08-30 15:20 傲踏天涯
阅读(4032)
评论(1)
推荐(0)
myeclipse 导入maven
摘要: 一安装maven 4,系统变量path 在cmd命令里面执行 mvn -version 出现这个说明maven安装成功! 二,maven在myeclipse配置 1,打开myeclipse软件,在Window下Preferences里搜索maven 2,点击Installations 确定appla
阅读全文
posted @ 2016-08-30 14:47 傲踏天涯
阅读(4998)
评论(0)
推荐(0)
2016年5月28日
mac+php+xdebug
摘要: 1,下载xdebug 2,进入xdebug-2.4.0RC4目录,运行phpize命令, 2,google之后说要安装autoconf brew install autoconf 3,但是使用brew无法找到些命令,于是安装brew ruby -e "$(curl -fsSL https://raw
阅读全文
posted @ 2016-05-28 16:31 傲踏天涯
阅读(1113)
评论(0)
推荐(0)
2016年5月26日
mac apache虚拟主机配置
摘要: <VirtualHost *:80> ServerAdmin slin DocumentRoot "/Users/slin/work/phpStudy/myPhp" ServerName myphp ServerAlias myphp ErrorLog "/private/var/log/apach
阅读全文
posted @ 2016-05-26 21:24 傲踏天涯
阅读(222)
评论(0)
推荐(0)
IIs+php 最精简的环境配置
摘要: 一,安装IIS 1,打开控制面板->程序和功能->打开或关闭windows功能->Internet 信息服务 1》选 中web管理工具 2》选 中万维网服务 1》应用程序开发功能中,选中CGI就可以 2》常见HTTP功能中选 中 默认文档,目录浏览,静态文档(这里一定要加上,否则无法访问以.html
阅读全文
posted @ 2016-05-26 09:15 傲踏天涯
阅读(162)
评论(0)
推荐(0)
angularJs模版注入的两种方式
摘要: 一,声名式注入 1:app.js: var myApp = angular.module("myApp",["ngRoute"]); 2:controller.js: myApp.controller("indexCtrl",['$scope',function($scope){ //如果想用混淆,
阅读全文
posted @ 2016-05-26 08:50 傲踏天涯
阅读(1325)
评论(0)
推荐(0)
公告