摘要: 这里描述以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 傲踏天涯 阅读(1118) 评论(0) 推荐(0) 编辑
摘要: 一,引入fasterxm.jackson包 <bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter"> <property name="messageConverters"> 阅读全文
posted @ 2016-08-30 15:20 傲踏天涯 阅读(4005) 评论(1) 推荐(0) 编辑
摘要: 一安装maven 4,系统变量path 在cmd命令里面执行 mvn -version 出现这个说明maven安装成功! 二,maven在myeclipse配置 1,打开myeclipse软件,在Window下Preferences里搜索maven 2,点击Installations 确定appla 阅读全文
posted @ 2016-08-30 14:47 傲踏天涯 阅读(4968) 评论(0) 推荐(0) 编辑
摘要: 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 傲踏天涯 阅读(1105) 评论(0) 推荐(0) 编辑
摘要: <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 傲踏天涯 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 一,安装IIS 1,打开控制面板->程序和功能->打开或关闭windows功能->Internet 信息服务 1》选 中web管理工具 2》选 中万维网服务 1》应用程序开发功能中,选中CGI就可以 2》常见HTTP功能中选 中 默认文档,目录浏览,静态文档(这里一定要加上,否则无法访问以.html 阅读全文
posted @ 2016-05-26 09:15 傲踏天涯 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 一,声名式注入 1:app.js: var myApp = angular.module("myApp",["ngRoute"]); 2:controller.js: myApp.controller("indexCtrl",['$scope',function($scope){ //如果想用混淆, 阅读全文
posted @ 2016-05-26 08:50 傲踏天涯 阅读(1310) 评论(0) 推荐(0) 编辑