如题: 使用web.config的configuration/location节点. 在configuration节点内新建一个location节点,注意这个节点和system.webserver那些是平级节点 然后使用location/@path 来指定某个单独的文件,这个文件可以是as...
分类:
Web程序 时间:
2014-08-06 18:18:01
阅读次数:
243
Python os.path.dirname(__file__)Python os.path.join(str,str)(1).当"print os.path.dirname(__file__)"所在脚本是以完整路径被运行的, 那么将输出该脚本所在的完整路径,比如: python d:\p...
分类:
编程语言 时间:
2014-08-06 17:41:11
阅读次数:
243
fopen fopen(打开文件) 相关函数 open,fclose 表头文件 #include 定义函数 FILE * fopen(const char * path,const char * mode); 函数说明 參数path字符串包括欲打开的文件路径及文件名称,參数mode...
分类:
其他好文 时间:
2014-08-06 17:34:21
阅读次数:
240
1、ant环境搭建a、jdk的安装(google即可)b、下载ant压缩包:http://www.apache.org/c、配置ant环境: ANT_HOME:ANT解压缩包所在位置 设置path:%ANT_HOME%\bin;验证方法:打开cmd 输入ant enter下 提...
分类:
其他好文 时间:
2014-08-06 17:32:42
阅读次数:
213
android网络图片的下载 1 /** 2 * Get image from newwork 3 * 4 * @param path 5 * The path of image 6 * @return byte[] 7 ...
分类:
移动开发 时间:
2014-08-06 17:26:51
阅读次数:
186
这道题的题意其实有点略晦涩,定义f(a,b)为minimum of verticesnoton the path between vertices a and b. 其实它加一个minimum index of vertices应该会好理解一点吧。看了一下题解,还有程序,才理清思路。首先比较直接的是...
分类:
其他好文 时间:
2014-08-06 14:27:11
阅读次数:
270
问题1 org.apache.tomcat.websocket.server.WsServerContainer cannot be cast to javax.websocket.server
严重: Servlet.service() for servlet [SpringMVC] in context with path [/ZHDM] threw exception [Request p...
分类:
编程语言 时间:
2014-08-06 11:59:01
阅读次数:
12178
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Test
{
class Program
{
static void Main(string[] args)
{
string pat...
分类:
移动开发 时间:
2014-08-06 11:52:51
阅读次数:
191
Count on the path
Time Limit: 5000/2500 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)
Total Submission(s): 92 Accepted Submission(s): 10
Problem Description
bobo has a tre...
分类:
其他好文 时间:
2014-08-06 11:51:59
阅读次数:
232
静态生成要在虚拟目录下创建文件夹 来保存生成的页面 那么就要对文件进行操作一、创建文件夹 using System.IO; string name = "aa"; string path = Server.MapPath("") + "\\" + name;...
分类:
Web程序 时间:
2014-08-06 11:37:21
阅读次数:
349