绑定形式: scope: {@=&} @ 这是一个单项绑定的前缀标识符使用方法:在元素中使用属性,好比这样<div my-directive my-name="{{name}}"></div>,注意,属性的名字要用-将两个单词连接,因为是数据的单项绑定所以要通过使用{{}}来绑定数据。 = 这是一个 ...
分类:
其他好文 时间:
2018-05-23 13:49:40
阅读次数:
168
里云centOS7.4配置多个站点遇到的问题nginx: [emerg] "server" directive is not allowed here in /etc/nginx/vhost/xxxxxx.conf:2这个错误好尴尬,费了几个小时去解决,小白呀没办法 先贴下/etc/nginx/ng ...
分类:
其他好文 时间:
2018-05-20 19:24:54
阅读次数:
5951
1、JSP指令简介 JSP指令(directive)是为JSP引擎而设计的,它们并不直接产生任何可见输出,而只是告诉引擎如何处理JSP页面中的其余部分。 JSP指令的基本语法格式: <%@ 指令 属性名="值" %> 举例:<%@ page contentType="text/html;charse ...
分类:
编程语言 时间:
2018-05-20 18:13:02
阅读次数:
161
AngularJS诞生于2009年,后来被Google公司收购,是一款优秀的前端框架,AngularJS有诸多特性,最为核心的是:MVC、模块化、自动双向数据绑定、依赖注入 MVC: AngularJS遵循软件工程的MVC模式并鼓励展现、数据和逻辑组件之间的松耦合,通过依赖注入,AngularJS为 ...
分类:
Web程序 时间:
2018-05-18 11:31:37
阅读次数:
192
原文:https://blog.csdn.net/bigtree_3721/article/details/72833955 nginx-1.9.0 已发布,该版本增加了 stream 模块用于一般的 TCP 代理和负载均衡。 The ngx_stream_core_module module is ...
分类:
其他好文 时间:
2018-05-17 16:54:05
阅读次数:
181
输出: 说明: https://cn.vuejs.org/v2/guide/custom-directive.html#ad ...
分类:
其他好文 时间:
2018-05-15 19:41:43
阅读次数:
182
配置完nginx,在启动的时候遇到如下问题:nginx: [emerg] "upstream" directive is not allowed here in /usr/local/nginx/conf/nginx.conf:7配置nginx.conf,如下:upstream con { server 127.0.0.1:8080
分类:
其他好文 时间:
2018-05-08 16:25:56
阅读次数:
968
## VirtualHost example:# Almost any Apache directive may go into a VirtualHost container.# The first VirtualHost section is used for all requests that ...
分类:
Web程序 时间:
2018-05-07 23:02:08
阅读次数:
258
问题描述: 在一个jsp页面里面调用 el 时出现的这个错误 <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> 异常信息:Exception:According to TLD or attribute directive in ...
分类:
Web程序 时间:
2018-04-30 19:53:21
阅读次数:
219
C#预处理器指令是在编译时调用的。 预处理器指令(preprocessor directive)告诉C#编译器要编译哪些代码,并指出如何处理特定的错误和警告。 C#预处理器指令还可以告诉C#编辑器有关代码组织的信息。 1. 定义符号和取消符号定义的预处理指令#define 和 #undef 预处理指... ...