摘要: jar包:基本的文件框架:1.首先配置jdbc的连接数据,也就是db.properties此处注意在url上,这里不是xml文件,不需要加上amp。用一个问号就可以 1234user=rootpassword=driverClass=com.mysql.jdbc.Driverurl=jdbc:mysql://localhost:3306/spring001?useUnicode=true&char... 阅读全文
posted @ 2016-03-20 01:07 奔跑吧_兄弟! 阅读(826) 评论(0) 推荐(0)
摘要: jar包:基本的文件框架:1.首先配置jdbc的连接数据,也就是db.properties此处注意在url上,这里不是xml文件,不需要加上amp。用一个问号就可以 1234user=rootpassword=driverClass=com.mysql.jdbc.Driverurl=jdbc:mysql://localhost:3306/spring001?useUnicode=true&char... 阅读全文
posted @ 2016-03-20 01:07 奔跑吧_兄弟! 阅读(175) 评论(0) 推荐(0)
摘要: 1.创建新的项目,打勾如下,选择好tomcat之类,然后jar包是自己弄好的了,也可以自动下载...... idea自动生成了默认的web.xml,这里不管它了 idea也自动创建了index.jsp的首页.....写上基本的信息吧: idea还创建了action管理器struts.xml 接着index.jsp的页面,我们创建下一个页面的jsp文件,放在pages下:input.jsp... 阅读全文
posted @ 2016-03-15 15:06 奔跑吧_兄弟! 阅读(12901) 评论(0) 推荐(0)
摘要: Exception in thread "main" java.sql.SQLException: Connections could not be acquired from the underlying database! Caused by: com.mchange.v2.resource... 阅读全文
posted @ 2016-03-13 12:07 奔跑吧_兄弟! 阅读(2249) 评论(0) 推荐(0)
摘要: 例如: BasicNetwork.performRequest: Unexpected response code 404 for http://geci.me/api/lyric/喜欢你 在volley中,如果网址中有中文,程序中转化不了,则出现此错误。 同样的网址,应该通过方法... 阅读全文
posted @ 2016-03-01 19:06 奔跑吧_兄弟! 阅读(744) 评论(0) 推荐(0)
摘要: 哎,敢接触这个东西,看了好些东西,才明白,其中,借鉴如下这位网友:http://www.cnblogs.com/wenjiang/archive/2013/05/06/3063259.html?utm_source=tuicool 但还是看得很难懂:后来终于搞明白了,特简单易懂地写下来。 首... 阅读全文
posted @ 2016-03-01 02:53 奔跑吧_兄弟! 阅读(545) 评论(0) 推荐(0)
摘要: package com.china.anonymous.contentproviderdemoone;import android.content.Context;import android.database.sqlite.SQLiteDatabase;import android.databa... 阅读全文
posted @ 2016-02-28 17:45 奔跑吧_兄弟! 阅读(158) 评论(0) 推荐(0)
摘要: .IllegalStateException: Couldn't read row 0, col -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it. ... 阅读全文
posted @ 2016-02-28 17:45 奔跑吧_兄弟! 阅读(910) 评论(0) 推荐(0)
摘要: 首先如果sdk下没有docs文件夹,那是因为你没有下载,现在一般是最高版本的API中的第一项,documentation for Android SDK,如图: 下载完,需要在路径 C:\Users\Anonymous\.AndroidStudioPreview2.0\config\option... 阅读全文
posted @ 2016-02-28 17:45 奔跑吧_兄弟! 阅读(943) 评论(0) 推荐(0)
摘要: 注意要把垂直设置好,因为是linearLayout布局,漏掉了就不能滑动了 Fragment的布局文件,3个一样的:layout1.xml 3个Fragment的文件,3个也是几乎一样的:注意,这里要导入的是import android.support.v4.app.F... 阅读全文
posted @ 2016-02-28 17:45 奔跑吧_兄弟! 阅读(9569) 评论(0) 推荐(1)