转载自百度空间location.hashlocation对象:设置或获取当前URL的信息使用location对象可以设置或返回URL中的一些信息,一个完整的URL地址的格式为:协议://主机:端口/路径名称#hash标识?搜索条件其中,协议是URL的起始部分,用于指定该URL地
址所采用的通信协议,...
分类:
其他好文 时间:
2014-05-24 07:41:08
阅读次数:
237
1 var hostname = location.hostname;2
window.location.href="http://"+hostname+":8080/zhiban/aftweibo.jsp";
分类:
Web程序 时间:
2014-05-24 07:37:05
阅读次数:
304
默认网站根目录为/usr/local/nginx/html,要将它改成/homw/wwwvi
/usr/local/nginx/conf/nginx.conf将其中的 location / { root html; index index.php
index.html i...
分类:
Web程序 时间:
2014-05-24 04:58:02
阅读次数:
229
Nginx支持伪静态(在 nginx.conf 中 修改如下)参考链接location / {
index index.html index.php; if (-d $request_filename){ rewrite ^/(.*)([^/...
分类:
其他好文 时间:
2014-05-24 03:02:12
阅读次数:
266
//修改对象颜色[TransactionAttribute(Autodesk.Revit.Attributes.TransactionMode.Manual)]public
class ChangeColor : IExternalCommand{ public Result Execute(...
分类:
其他好文 时间:
2014-05-24 01:59:36
阅读次数:
1066
//获取选中对象[TransactionAttribute(Autodesk.Revit.Attributes.TransactionMode.Manual)]public
class setSelectEle : IExternalCommand{ public Result Execute...
分类:
其他好文 时间:
2014-05-24 00:34:21
阅读次数:
349
js方式的页面跳转1.window.location.href方式
2.window.navigate方式跳转
3.window.loction.replace方式实现页面跳转,注意跟第一种方式的区别有3个jsp页面(1.aspx, 2.aspx,
3.aspx),进系统默认的是1.aspx,当我进...
分类:
Web程序 时间:
2014-05-23 23:51:18
阅读次数:
575
LINK : fatal error LNK1123: failure during
conversion to COFF: file invalid or corruptAfter installing Visual Studio 2010
Service Pack 1, some users w...
分类:
其他好文 时间:
2014-05-23 10:26:11
阅读次数:
403
本例采用jsoncpp-src-0.6.0-rc2-amalgamation.tarjava调用语句
int id = 1001; String name = "Kevin"; String result = system.toBuildJson(id,
name); Log.i(TAG,St...
分类:
Web程序 时间:
2014-05-20 12:29:01
阅读次数:
387
1)拦截器是什么?
拦截器(Interceptor)是Struts2最强大的特性之一,它是一种可以让你在Action执行之前和Result执行之后进行一些功能处理的机制。来回顾一下官方给出的Struts2系统架构图中关于拦截器的部分,如下图所示:
这个图清晰的描述出了拦截器的运行地位,就是用...
分类:
其他好文 时间:
2014-05-19 12:22:17
阅读次数:
285