最近在实验maven结构的maven工程时,碰到一个问题,springbean总是初始化失败: Related cause:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean wi...
分类:
编程语言 时间:
2014-07-07 12:45:29
阅读次数:
854
遇到错误:XMLHttpRequest cannot load http://XXX.aspx. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhos...
分类:
其他好文 时间:
2014-07-03 06:49:45
阅读次数:
182
关于Http 的method:GETAsks to get the thing (resource / file) at the requested URL.POSTAsks the server to accept the body info attached to the request, an...
分类:
其他好文 时间:
2014-07-02 23:42:07
阅读次数:
215
ListView之SimpleAdapterSimpleAdapter的构造函数是:public SimpleAdapter (Context context, List> data, int resource, String[] from, int[] to)参数context:上下文,比如thi...
分类:
移动开发 时间:
2014-07-02 22:23:04
阅读次数:
273
免责声明: 本文转自网络文章,转载此文章仅为个人收藏,分享知识,如有侵权,请联系博主进行删除。 原文作者:kyfxbl 原文地址: spring配置中classpath和classpath*的区别 在spring配置文件里,可以用classpath:前缀,来从classpath中加载资源 比如在sr...
分类:
编程语言 时间:
2014-07-02 18:51:58
阅读次数:
217
原文:sql server 判断是否存在数据库,表,列,视图1 判断数据库是否存在if exists (select * from sys.databases where name = '数据库名')drop database [数据库名]2 判断表是否存在if exists (select * f...
分类:
数据库 时间:
2014-07-02 14:43:14
阅读次数:
247
1 #include 2 #include "resource.h" 3 4 LRESULT CALLBACK MyWndProc( HWND hwnd, // handle to window 5 UINT uMsg, // message identifier 6...
/*1.创建数据库*/create database if not exists test_01;/*2.查询所有数据库*/show databases;/*3.使用数据库 */use test_01;/*4.创建表*/create table if not exists BaseUser( ...
分类:
数据库 时间:
2014-07-02 14:11:25
阅读次数:
194
--向表“j0261”插入数据时,检查学号是否存在于表“j026”中,如存在则进行插入操作,否则就不插入。
create trigger checkid on j0261
instead of insert
as
if(not exists(slect * from j026 where 学号=(select 学号 from inserted)))--如果插入j0261的那一条数据里的'学号'不存...
分类:
数据库 时间:
2014-07-02 09:39:12
阅读次数:
268