1. 深入Struts2的配置文件 本部分主要介绍struts.xml的常用配置。 1.1. 包配置: Struts2框架中核心组件就是Action、拦截器等,Struts2框架使用包来管理Action和拦截器等。每个包就是多个Action、多个拦截器、多个拦截器引用的集合。 在struts.xml ...
分类:
其他好文 时间:
2017-02-12 15:38:07
阅读次数:
196
转至:http://www.lidaze.com/ 在上一篇博客中,已经购买好了开发账号,既然都交了钱了,就做点有意义的事吧!要想使用真机测试,需要准备如下: 1.证书:安装到电脑上的cer文件,只有安装了证书的电脑,才可以进行真机调试2.App ID:就是应用程序的Bundle ID,每个应用程序 ...
分类:
移动开发 时间:
2017-02-06 13:26:36
阅读次数:
575
githttps://github.com/sea-boat/mysql-protocol概况当mysql客户端使用show column命令时即对应这个FieldList命令包。mysql通信报文结...
分类:
数据库 时间:
2017-01-28 12:12:56
阅读次数:
508
4.1 Wildcards The * wildcard The character * is called a wildcard, and will match against none or more character(s) in a file (or directory) name. For ...
分类:
其他好文 时间:
2017-01-28 09:24:48
阅读次数:
247
这类问题可以先用递归思考,再反过来想出动态规划的方法。 10. Regular Expression Matching 32. Longest Valid Parentheses 44. Wildcard Matching 72. Edit Distance 97. Interleaving Str ...
分类:
其他好文 时间:
2017-01-22 13:51:20
阅读次数:
210
1.今天重装了一下MyEclipse7.5,打开原来的Flex项目,又报了以下两个错误,之前解决过,但不想又出现,于是把它的解决方法贴出来,做个备忘! 错误信息为 错误信息 写道 cvc-complex-type.2.4.c: The matching wildcard is strict, but ...
分类:
其他好文 时间:
2016-11-25 16:56:30
阅读次数:
242
之前就写过了,但是没有在这写,今天重新写了一遍。 两个指针,一个维持pattern的位置,一个维持str的位置,每一次循环str的idx或者pattern的idx至少有一个会往后移动一步。 当strIdx < srtLen的时候 因为存在*这个pattern所以要进行尝试,加入*匹配0个、1个、2个 ...
分类:
其他好文 时间:
2016-10-15 07:40:09
阅读次数:
152
题目:Wildcard 链接:http://acm.hdu.edu.cn/showproblem.php?pid=3901 题意:给一个原串(只含小写字母)和一个模式串(含小写字母、?、* ,*号可替换为0到无穷个任意字母,?可替换为一个任意字母),问两个字符串是否匹配。 思路: 这是经典题吧。。。 ...
分类:
其他好文 时间:
2016-09-30 23:37:36
阅读次数:
245
makefile中常用的函数: http://linux.chinaunix.net/techdoc/develop/2009/07/09/1122854.shtml SRC = $(wildcard *.c) // 取目录下的.c文件OBJS = $(patsubst %.c,%.o,$(SRC) ...
分类:
其他好文 时间:
2016-09-07 15:50:32
阅读次数:
146
题目: Implement wildcard pattern matching with support for '?' and '*'. 分析: 跟第10题Regular Expression Matching很像,从正则表达式匹配变成了通配符匹配,用动态规划的方法做的话, 比之前这个题要来的简单 ...
分类:
其他好文 时间:
2016-09-06 23:07:41
阅读次数:
167