section一块 article一篇==section:group, chapter, 划分派系 等级不同的大块article: 一段内容 一篇文章 可以用于syndicate / rss两者的区别还是很大的。
分类:
Web程序 时间:
2015-05-04 19:48:30
阅读次数:
143
/// /// 验证手机号 /// /// /// private static dynamic CheckTelNum(string telNum) { Regex mobileReg...
分类:
Web程序 时间:
2015-05-04 19:47:20
阅读次数:
136
--貌似直接就是lastindexof'a'就是a字符出现的最后的索引 ---------------就是stringObject.lastIndexOf('aaa')就是返回aaa在stringObject中(从后面往前推)所在的索引号码从0开始计数的。如果在stringObject找不到aaa那...
分类:
Web程序 时间:
2015-05-04 19:45:58
阅读次数:
142
自定义Filter的基本思路是继承基类ActionFilterAttribute,并根据实际需要重写OnActionExecuting,OnActionExecuted,OnResultExecuting,OnResultExecuted这四个中的一个或多个方法。 注意类名一定要以Attrib...
分类:
Web程序 时间:
2015-05-04 19:42:47
阅读次数:
114
一个web项目的团队往往具有以下角色的人员组成:project stakeholder(client or business owner)产品经理Project manager 项目经理producer 制片人editor/copywriter编辑和文案人员information archite.....
分类:
Web程序 时间:
2015-05-04 19:43:37
阅读次数:
179
WebService跟ashx实现的功能比较类似,只是它就是只是提供数据来给其他应用程序来使用的,如果是本程序内部使用的话,推荐使用ashx,如果是公司内部所有的应用程序都使用的数据的话,这个时候最好使用WebService(因为有一套自己的数据逻辑,增删改查,以后计算有一个系统是用jsp来开发的,...
分类:
Web程序 时间:
2015-05-04 19:41:57
阅读次数:
156
stringObject.substring(start,stop) substring() 方法用于提取字符串中介于两个指定下标之间的字符。stringObject.substr(start,length) 必需。要抽取的子串的起始下标。必须是数值。如果是负数,那么该参数声明从字符串的尾部开始算起...
分类:
Web程序 时间:
2015-05-04 19:40:11
阅读次数:
171
简单的解决方法是,在网站根目录,新增一个浏览器定义文件(browser definition file) 叫“App_Browsers”文件夹,然后里面放一个“IE10.browser”文件即可,网站自动识别读取步骤如下: 1.添加一个"App_Browsers"文件夹 2.添加一个"*.brows...
分类:
Web程序 时间:
2015-05-04 19:36:39
阅读次数:
243
windows下面的apache配置apache是mac下是默认就有的,我们只需使用命令开启、暂停和重启就好了sudo apachectl startsudo apachectl stopsudo apachectl restart但是这个apache 开启后,默认访问的是/Library(资源库)...
分类:
Web程序 时间:
2015-05-04 19:37:11
阅读次数:
143
类的自动加载后直接实例化//自动加载类function my_autoloader($class) { include $class . 'Class.php';}spl_autoload_register('my_autoloader');$test=new test();$test->ge...
分类:
Web程序 时间:
2015-05-04 19:30:45
阅读次数:
129
数组for(var i=0,i>array.length,i++){}对象for(var i in object){console.log(object[i])或者 console.log(object.i)//具体不清楚}echo json_encode($errors, JSON_FORCE_O...
分类:
Web程序 时间:
2015-05-04 19:30:23
阅读次数:
105
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;namespace demo5{ ...
分类:
Web程序 时间:
2015-05-04 19:29:24
阅读次数:
108
读书《Servlet与JSP核心编程》 Servlet和JSP技术概述 HelloServlet HttpServlet Servlet逻辑,面向处理 JSP表示,面向表示 Servlet和JSP结合起来 服务器的安装和配置 Servlet基础 web.xml init service doGet ser...
分类:
Web程序 时间:
2015-05-04 18:25:25
阅读次数:
132
关于对hibernate使用方法现在在网上的指南已经有很多了,但是这里我只是想给自己做一个记录,方便自己作为资料来查阅...
分类:
Web程序 时间:
2015-05-04 18:19:59
阅读次数:
133
网页小测试代码:
无标题文档
#kuangjia {
height: auto;
width: 100%;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
}
#welcome {
height: 17px;
width: 100%;
background-co...
分类:
Web程序 时间:
2015-05-04 18:21:34
阅读次数:
286
做项目的过程中,我通过jQuery动态向指定id的div中添加img元素,然后点击删除按钮可以删除指定id的img
$("#showimg").find("img[id='"+file.id+"']").remove();
showimg是div的id,file.id是img的id,我直接用$("#"+file.id).remove()删除不了这个img,我也不知道为啥,就用的上面的删...
分类:
Web程序 时间:
2015-05-04 18:13:23
阅读次数:
1182