public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapR...
分类:
Web程序 时间:
2014-09-26 12:59:48
阅读次数:
183
URI: uniform resource identifier,统一资源标识符,用来唯一的标识一个资源。URL: uniform resource locator,统一资源定位器,它是一种具体的URI,即URL可以用来标识一个资源,而且还指明了如何locate这个资源。URN: uniform r...
分类:
其他好文 时间:
2014-09-26 01:52:28
阅读次数:
228
禁用tomcat6的webdav模块:说明:开启webdav模块后可通过命令行或客户端对web进行在线上传、下载、修改、删除等操作,如控制不好会带来安全隐患#vi/var/lib/tomcat6/conf/web.conf(在<web-app下添加)按a或i进入编辑模式<security-constraint><web-resource-colle..
分类:
Web程序 时间:
2014-09-25 23:54:49
阅读次数:
1202
问题说明:AndroidRuntime(1705): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.activitytest/com.example.activitytest.Second...
分类:
移动开发 时间:
2014-09-25 10:17:28
阅读次数:
335
用上下文 得到Resource使用mContext.getResources().getStringArray(R.array.yile_lesson2_words_mp3_array);方法得到如下xml中包含的字符串final String[] pictureArray = mContext.g...
分类:
其他好文 时间:
2014-09-24 16:24:07
阅读次数:
251
出现这种情况可有2种方法解决:
1方案:clean项目,可能解决问题
2方案:1方案未解决问题,android 版本过低,右键你的项目->Properties->Android ,选择API level 11 ,或者更高的,同时添加appcompat_v7库...
分类:
移动开发 时间:
2014-09-24 16:18:27
阅读次数:
298
在Spring MVC中,Controller中使用service只需使用注解@Resource或者@Persist就行,但是一般类(即不使用@Controller注解的类)要用到service时,可用如下方法:
1、SpringContextUtil
package com.test.framework.utils;
import org.springframe...
分类:
编程语言 时间:
2014-09-24 13:23:16
阅读次数:
148
1. 安装ftp服务 sudo apt-get install vsftpdCould not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) 问题解决出现这个问题的原因可能是有另外一个程序正在运行,...
分类:
其他好文 时间:
2014-09-22 18:25:22
阅读次数:
151
bug记录StrutsmavenJavaApache系统加载时出现:严重: Context initialization failedjava.lang.TypeNotPresentException: Type javax.annotation.Resource not presentCaused...
分类:
其他好文 时间:
2014-09-22 17:51:22
阅读次数:
135
The Open For Business Project: Entity Engine Configuration Guide原文链接:http://ofbiz.apache.org/docs/entityconfig.html一、说明二、Resource Loaders三、JTA Element...
分类:
其他好文 时间:
2014-09-22 16:03:12
阅读次数:
194