<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="keywords" content="javascript, 动画, 抛物线" /> <title>抛物线运动</title> <style> body { margin ...
分类:
Web程序 时间:
2017-02-16 11:20:24
阅读次数:
222
连接mysql数据库,并且通过select语句获得结果。 两种方式加载驱动 1、Class.forName("oracle.jdbc.driver.OracleDriver"); 2、new oracle.jdbc.driver.OracleDriver(); 两种方法都可以。这个驱动自动向driv ...
分类:
数据库 时间:
2017-02-15 18:56:37
阅读次数:
179
在创建menu时,在虚拟设备上回显示menu(三个点,如图1),但是在安卓真机上可能会出现不会显示的情况。 (图1) 原因是因为安卓系统现在都默认隐藏标题栏,所以menu就不会显示出来。 有两种方法可以解决这一问题: 方法一:在onCreate()函数后面添加显示标题栏代码:setContentVi ...
分类:
移动开发 时间:
2017-02-15 00:00:15
阅读次数:
678
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. tag : du ...
分类:
其他好文 时间:
2017-02-14 20:21:13
阅读次数:
130
研究代码从:AndroidManifest.xml、自定义的Application.java开始。 Android系统启动时,系统需要一个Home应用程序来负责将这些应用程序展示出来;也就是该应用的目的在于:Android系统启动后,第一个启动的应用程序。在Android系统中,这个默认的Home应 ...
分类:
移动开发 时间:
2017-02-13 23:20:50
阅读次数:
462
本文主要介绍基于Eclipse和Tomcat如何实现一个Java Servlet的Hello World程序并跑起来。 ...
分类:
微信 时间:
2017-02-13 00:20:04
阅读次数:
2191
问题描述:登录后点击栏目一,弹出了窗口一,再点击栏目二,弹出了窗口二,然后再点击窗口一,再执行窗口一中的操作时,发现已没有任何权限,调试后发现在HandlerAuthorizeAttribute这个类中 moduleId这个值取的不对,又转到前台indextab.js中 发现在这里对cookie(' ...
分类:
其他好文 时间:
2017-02-13 00:11:44
阅读次数:
1323
Canvas 中 clearRect 清除函数 var c=document.getElementById("php100"); var p100=c.getContext("2d"); p100.clearRect(x,y,x,y) // 擦除画布一个区域x-y、x-y var c=documen ...
分类:
Web程序 时间:
2017-02-12 23:59:27
阅读次数:
1209
实际效果: 使用 th:text 标签 效果: ...
分类:
其他好文 时间:
2017-02-12 23:36:58
阅读次数:
1448
Unless you specify otherwise, most of the operations you do in an app run in the foreground on a special thread called the UI thread. 除非特别指定,一般情况下所有在前 ...
分类:
其他好文 时间:
2017-02-12 22:16:38
阅读次数:
320