码迷,mamicode.com
首页 > 全部
ajax 本地测试,使用Chrome 浏览器
出现问题: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. 解决办法: "C:\Program F ...
分类:Web程序   时间:2016-08-06 08:26:43    阅读次数:242
linux 下运行 tomcat
一开始找不到表名,原来mysql 表名区分大小写。 修改参数 lower_case_table_names=1 成功运行后不能通过浏览器访问! 开启8080端口 一、关闭防火墙 firewall-cmd --state 查看状态 systemctl disable firewalld.service ...
分类:系统相关   时间:2016-08-06 08:26:22    阅读次数:233
Send [1] times, still failed
关键代码片段 1. 循环几次发送几次 2. selectOneMessageQueue 返回与上一个broker不同名的broker 3. timesTotal 是brokersSent 数组 4. 某broker发送失败时,如果想要重试其他broker,需要把retryAnotherBrokerW ...
分类:其他好文   时间:2016-08-06 08:25:40    阅读次数:910
什么是MVC
.pdm PowerDesigner's physical data model (relational model) file format mvc Model–view–controller, a software architecture used in software engineerin ...
分类:Web程序   时间:2016-08-06 08:24:45    阅读次数:197
RECONSUME_LATER
Failure consumption,later try to consume. MessageExt [queueId=0, storeSize=134, queueOffset=2, sysFlag=0, bornTimestamp=1442224189878, bornHost=/172.1 ...
分类:其他好文   时间:2016-08-06 08:23:39    阅读次数:384
linux 查看版本
# cat /proc/version Linux version 2.6.18-348.el5 (mockbuild@x86-002.build.bos.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Wed N ...
分类:系统相关   时间:2016-08-06 08:25:57    阅读次数:213
判断时间大小 yyyy-MM-dd 格式
...
分类:其他好文   时间:2016-08-06 08:24:57    阅读次数:133
RocketMQ 运维指令
1.1. 控制台使用 RocketMQ 提供有控制台及一系列控制台命令,用于管理员对主题,集群,broker 等信息的管理 登录控制台 首先进入RocketMQ 工程,进入/RocketMQ/bin 在该目录下有个mqadmin 脚本 查看帮助 在mqadmin 下可以查看有哪些命令 sh mqad ...
分类:其他好文   时间:2016-08-06 08:24:07    阅读次数:4635
RocketMQ runbroker.sh 分析JVM启动参数
runbroker.sh -server By default, all client applications run in -client mode, while the directory server and certain server utilities run in -server m ...
分类:其他好文   时间:2016-08-06 08:24:14    阅读次数:2150
jgroups 入门
官网地址:http://www.jgroups.org/ 聊天室示例:http://www.jgroups.org/tutorial/html/ch02.html 2.1. JGroups overview2.2. Creating a channel and joining a cluster2. ...
分类:其他好文   时间:2016-08-06 08:24:42    阅读次数:119
1) data-options
<select class="easyui-combobox" data-options="editable:false"> <select class="easyui-combobox" editable=false> 以上两种方式都生效。 1. 只能选择不可以键盘输入 editable:fals ...
分类:其他好文   时间:2016-08-06 08:21:42    阅读次数:170
jQuery form 插件
http://jquery.malsup.com/form/#getting-started 举例: ps:$('#ff').ajaxForm(options); 不会提交form表单,需要自己submit。 ...
分类:Web程序   时间:2016-08-06 08:24:32    阅读次数:156
建立数据库连接方式之二:直连
...
分类:数据库   时间:2016-08-06 08:24:10    阅读次数:261
建立数据库连接方式之一:桥接
特点:依赖ODBC,移植性差 ...
分类:数据库   时间:2016-08-06 08:21:10    阅读次数:1250
FileAppender
http://logback.qos.ch/manual/appenders.html#FileAppender 这个testFile.log 会默认生成到项目根目录不推荐这样设置。 明确指定普通项目和WEB项目的日志文件位置: <file>E:${file.separator}logs${file ...
分类:移动开发   时间:2016-08-06 08:22:25    阅读次数:204
Introduction mybatis
项目地址 https://github.com/mybatis/mybatis-3 英文官网 http://mybatis.github.io/mybatis-3/ 中文官网 http://mybatis.github.io/mybatis-3/zh/index.html 生成工具 https:// ...
分类:其他好文   时间:2016-08-06 08:23:49    阅读次数:137
一)6张表
1用户表 SMSE_USER 2角色表 SMSE_ROLE 3菜单表 SMSE_MENU 4用户角色关联表 SMSE_USER_ROLE_LINK 5角色菜单关联表 SMSE_ROLE_MENU_LINK 6进入权限表 SMSE_ACCESS_PERMISSION sql: ...
分类:其他好文   时间:2016-08-06 08:21:03    阅读次数:222
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!