2013年1月31日
摘要: 项目构建:1. pom.xml文件的配置:<?xml version="1.0" encoding="utf-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/mave 阅读全文
posted @ 2013-01-31 15:09 lee0oo0 阅读(179) 评论(0) 推荐(0)
摘要: 设置Http代理:在E:\apache-maven-3.0.4\conf\settings.xml中的proxy标签中配置<proxy> <id>optional</id> <active>true</active> <protocol>http</protocol> <username>proxyuser</username> <password>proxypass</password> <host>proxy.host.net</host&g 阅读全文
posted @ 2013-01-31 14:31 lee0oo0 阅读(215) 评论(0) 推荐(0)
摘要: 1. 下载maven:http://maven.apache.org/download.cgi2. maven命令行指令:mvn -v: 得知maven的版本mvn help:system: 下载maven-help-plugin到本地仓库mvn clean compile:命令行的根项目运行,编译项目mvn clean test:命令行的根项目运行,测试mvn clean package:命令行的根项目运行,经过编译与测试后,然后打包成jar包mvn clean install:命令行的根项目运行,打包后,进行安装3.<!-- 目的是生成可运行的jar --> <build 阅读全文
posted @ 2013-01-31 12:05 lee0oo0 阅读(359) 评论(0) 推荐(0)
摘要: window:当前浏览器窗体的。属性:status、opener、closed方法:alert()、confirm()、setInterval()、clearInterval()、setTimeout()、clearTimeout()、open()window对象的其他子对象:document、frames、location、history、screen等得到窗体的宽度、高度:document.body.clientWidth 阅读全文
posted @ 2013-01-31 09:26 lee0oo0 阅读(142) 评论(0) 推荐(0)
摘要: javascript中如果需要某个事件不发生,需要返回false。onContextMenu="return false";浏览器关闭前的事件提示:onbeforunload="event . returnValue='' "=============================================事件对象:eventevent . srcElement() // 得到事件源对象event. srcElement().innerHTML='abc' // 改变事件源对象的文本值event . keyCode 阅读全文
posted @ 2013-01-31 08:37 lee0oo0 阅读(149) 评论(0) 推荐(0)