- 浏览: 590832 次
- 性别:
- 来自: 深圳
最新评论
-
明明如月:
这个方法不错
解决Failed to execute goal org.apache.maven.plugins -
srhlwdamon:
可是我的为什么解决不了。。。。。。。。。!!
解决Failed to execute goal org.apache.maven.plugins -
di1984HIT:
写的不错。
Memcached 在window下部署和测试示例 -
只为学英语:
正解,十分感谢
解决Failed to execute goal org.apache.maven.plugins -
落雪封:
谢谢,解决了,少导入jar包了
Spring MVC 的json问题(406 Not Acceptable)
文章列表
Office2010激活码
- 博客分类:
- 杂记
6QFDX-PYH2G-PPYFD-C7RJM-BBKQ8bdd3g-xm7fb-bd2hm-yk63v-vqfdk
一般人我不告诉他
1.下载“3个DDL”
2.解压放在"C:\program files\common files\microsoft Shared\web server Extensions\40\bin"
3.然后重装Office2007/2010
4.你笑了
package com.macrotea.pattern.factory.abstr;
import com.macrotea.pattern.factory.base.Food;
import com.macrotea.pattern.factory.base.Vehicle;
import com.macrotea.pattern.factory.base.Weapon;
public abstract class AbstractFactory {
public abstract Food createFood();
public abstract Vehic ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset ...
<html>
<head>
<title>Colors</title>
<style type="text/css">
body {
margin:20px;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size:12px;
}
.style1 {
width: 800px;
height: 100px;
margin: 0p ...
1.对象关系映射,我们说的是对象之间的关系,也不是之前接触到的组合啊,继承这些关系,而是数量上的关系,其实表和表之间只有一种关系:外键
2.
1对1
1对多
多对多
还有方向的问题
3.
只要有双向关联,mappedBy必须设置
4.
1对1单向/双向主键关联不重要
5.
老师知道有多个学生,学生不知道被哪个老师教,这就是单向
package com.macrotea.responzchain.entity;
public class Request {
private String content;
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
}
package com.macrotea.responzchain.entity;
public cla ...
package com.macrotea.responzchain.interfazz;
public interface Filter {
public String doFilter(String text);
}
package com.macrotea.responzchain.impl;
import com.macrotea.responzchain.interfazz.Filter;
public class HTMLFilter implements Filter {
@Override
public String doFilter(St ...
http://www.beanshell.org/manual/bshmanual.htm
http://www.beanshell.org/javadoc/bsh/util/package-summary.htmll
http://www.beanshell.org/download.html
简单demo:
public class BeanShellUtil {
public static double countMathExpress(String exp) {
double retVal = 0d;
Interpreter interpreter = ...
Filter的调用顺序按照filter-mapping的在配置中的先后顺序:
当调用下面的每一个servlet都会经过以下3个过滤器,且过滤器有先后顺序
<servlet-mapping>
<servlet-name>DisplayInputServlet</servlet-name>
<url-pattern>/servlet/displayInputServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
< ...
1.表数据
2.代码
select cate1.CategoryName as '类别名',cate2.CategoryName as '父类别名'
from tb_book_category cate1 left outer join tb_book_category cate2
on cate1.`AutoID`=cate2.`BaseID`;
3.结果
连接分为三种:内连接、外连接、交叉连接
内连接(INNER JOIN):
分为三种:等值连接、自然连接、不等连接
外连接(OUTER JOIN):
分为三种:
左外连接(LEFT OUTER JOIN或LEFT JOIN)
右外连接(RIGHT OUTER JOIN或RIGHT JOIN)
全外连接(FULL OUTER JOIN或FULL JOIN)
交叉连接(CROSS JOIN):
没有WHERE 子句,它返回连接表中所有数据行的笛卡尔积
->使用标准的SQL语法,匹配条件出现在on子句中,搜索条件出现在where子句,这样使 ...