相比较很多年以前,现在的网站建设方法有了很大的变化。1.主机空间,有众多云服务提供商,比如华为,阿里,百度等等,他们有的提供裸机,有的提供集成环境,性能高,稳定负载大。还有新生代见36氪合作商。linode(引文在这里)甚至域名都不需要备案,只是价格有些贵。2,针对不同尺寸和分辨率的客户端设备,有云...
分类:
Web程序 时间:
2015-02-12 15:45:55
阅读次数:
153
Visual Studio 2013新建ASP.NET项目使用Empty模板,在页面中使用验证控件出错的解决方案。
分类:
Web程序 时间:
2015-02-12 15:43:07
阅读次数:
152
背景:做了那么多web项目,总会发现到处都是事件绑定,同一个按钮的执行动作,也许会分布在多个js文件中。而且对于js动态生成的文档片段,里面会经常出现“onclick=...”之类的代码,一到功能升级,或者代码重构的时候,就会发现,这个难度以及工作量,和重写一遍没什么区别,有时候甚至工作量更大!基于...
分类:
Web程序 时间:
2015-02-12 15:39:25
阅读次数:
199
1.安装expressnpm install -g express-generator4.0+版本中将命令工具分出来了,所以可以不安装express,但必须要安装express-generator2.新建工程初始化一个 express 项目并安装所需模块,模板引擎默认格式是jadeexpress 文...
分类:
Web程序 时间:
2015-02-12 15:41:08
阅读次数:
162
看到别的网站有个这么个小东西,感觉挺有趣就模范着做了下,只支持了webkit内核的 浏览器。html代码css3代码html {height: 100%;}body {background: #2f2f2f;}.pin{width: 100px;height: 100px;position: abs...
分类:
Web程序 时间:
2015-02-12 15:36:20
阅读次数:
112
DevExpress版本14.1(1)DateTime类型如何格式化展示?首先要使用GridViewDataDateColumn来展示日期,然后格式化日期展示即可:) (2)为什么在Client浏览器端获取GridView的焦点行,即使用GetFocusedRowIndex获取不到焦点行下标呢...
分类:
Web程序 时间:
2015-02-12 15:34:34
阅读次数:
262
$.ajax({ url: 'AjaxPage/AjaxHandler.ashx', type: 'POST', data: 'ajaxType=pagelist&pageSize=12&pageIndex=1', dataType: "jsonp", cache: !0, jsonpCallba....
分类:
Web程序 时间:
2015-02-12 15:32:58
阅读次数:
336
直接贴代码:模拟select框 ---请选择你的职业---
分类:
Web程序 时间:
2015-02-12 15:28:40
阅读次数:
241
本文转自:http://stackoverflow.com/questions/5645058/how-to-add-months-to-a-date-in-javascript/5645126I took a look at the datejs and stripped out the code...
分类:
Web程序 时间:
2015-02-12 15:29:39
阅读次数:
248
var upVal, downVal;var filter = /^[0-9]*$/;$(document).on('input propertychange', '.chujia', function () {downVal = $(this).val(); if (!filter.test(do...
分类:
Web程序 时间:
2015-02-12 15:22:24
阅读次数:
167
Servlet / JSP /Tomcat VersionServlet/ JSPTomcat2.5/2.16.0.182.4/2.05.5.272.3/1.24.1.392.2/1.13.3.2 (archived)Servelt / JSP/JSTL / J2EE VersionServletJ...
分类:
Web程序 时间:
2015-02-12 15:22:46
阅读次数:
142
Nginx配置:location~\.php${add_headerAccess-Control-Allow-Origin"*";client_max_body_size120m;fastcgi_pass127.0.0.1:9000;includefastcgi.conf;}
分类:
Web程序 时间:
2015-02-12 14:17:40
阅读次数:
187
Causedby:java.lang.IllegalArgumentException:SecurityMetadataSourcedoesnotsupportsecureobjectclass:classorg.springframework.security.web.FilterInvocation
atorg.springframework.util.Assert.isTrue(Assert.java:65)
atorg.springframework.security.access.interce..
分类:
Web程序 时间:
2015-02-12 14:15:00
阅读次数:
548
当写程序的时候,遇到一个大功能需要很长时间做完,但是突然有一个急需的小功能需要先完成,那么就会暂停大功能,先做小功能,这种方式称为阻塞。当小功能做完了,再继续做大功能。这就是通常的同步式(Synchronous)或阻塞式(Blocking)。相应地,异步式(Asynchronous)或非..
分类:
Web程序 时间:
2015-02-12 14:16:11
阅读次数:
177
CreateweblogicdomainusingsilentinstallCreateweblogicdomainusingsilentfile.Createthesilentfilethatyouwillusefordomaincreation:-=====================================vi/weblogic_path/stage/response_files/wl_create_domain_demo.rsp************Filestartshere*****..
分类:
Web程序 时间:
2015-02-12 14:12:49
阅读次数:
762