一般资源文件是放在webroot底下的,若是你用html而不用jsp,资源文件一般是放在WEB-INF下的,而页面文件除了index.jsp一般而言也是放WEB-INF下的,这样调用资源文件不用加bathpath。 resource/css/common.css">如上面的css文件就是在we...
分类:
Web程序 时间:
2014-11-25 09:08:39
阅读次数:
202
<?php
/*
*---------------------------------------------------------------
* APPLICATION ENVIRONMENT
*---------------------------------------------------------------
*
*
* //配置项目运行的环境,该配...
分类:
Web程序 时间:
2014-11-25 00:27:17
阅读次数:
236
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/41346969
Implement strStr().
Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.
Update (2014-11-02):
The signature of the function...
分类:
其他好文 时间:
2014-11-24 22:37:49
阅读次数:
224
问题描述:
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that position.
Your...
分类:
其他好文 时间:
2014-11-24 20:51:50
阅读次数:
171
首先要看你的Oracle优化器采用的是RBO还是CBO,
(1)如果使用的是RBO的话,会按照规则顺序来进行的.
(2)如果使用的是CBO的话,那么可以使用HINT方式进行修改。
语法:SELECT /*+ index(table IndexName)*/
如果查询语句中,表用到别名时,上边语句中的table一定要是别名,否则不走执行强制索引。
例子:
select /*+INDEX(...
分类:
数据库 时间:
2014-11-24 19:12:12
阅读次数:
316
网站本来正常,由于网站修改了title标签的内容,想要百度快照快点更新。就自己提交快照。在下面网站:http://zhanzhang.baidu.com/sitesubmit/index提交URL地址,在自己的服务器根目录下添加了一个验证文件,验证以后。正常的asp网站无法访问了,错误如下:Prov...
分类:
Web程序 时间:
2014-11-24 18:40:16
阅读次数:
140
三人行,必有我师也。择其善者而从之,其不善者而改之。
本讲内容:CharSequence类型
一、CharSequence类型是一个接口,代表的是一个有序字符集合,这个接口包含的方法有:charAt(int index),toString(),length(),subSequence(int start,int end). 注意:对于一个抽象类或者是接口类,不能使用n...
分类:
移动开发 时间:
2014-11-24 15:27:41
阅读次数:
208
1.创建MVC4新项目,使用"Internet应用程序"模板。2.添加CustomAjax控制器,具体代码如下。public class CustomAjaxController : Controller { public ActionResult Index() ...
分类:
Web程序 时间:
2014-11-24 15:16:53
阅读次数:
109
例如:URL:http://mytp.com:801/Home/Index/getcurl,方法为public function getcurl(){ $aa = "999";echo $aa;}curl代码是:$c = curl_init();$url = "http://mytp.com:80....
分类:
Web程序 时间:
2014-11-24 15:07:20
阅读次数:
118
弹出窗口前一般都需要在本页面上增加一层蒙板覆盖整个页面/*蒙版scss*/.mask{ background: rgba(0,0,0,0.5); width: 100%; height: 100%; position: fixed; left: 0; top: 0; z-index: 4; disp...
分类:
其他好文 时间:
2014-11-24 15:02:12
阅读次数:
195