# knowledgeLibrary_new
**Repository Path**: yunGit/knowledgeLibrary_new
## Basic Information
- **Project Name**: knowledgeLibrary_new
- **Description**: eclipse能跑的知识库
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2016-11-04
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
struts2.3.16
hibernate4.1.18
spring3.1.3
syso
syst
一般 k 表示key(键);t表示type(类型);v表示value(值);e表示entry (实体)
shift+alt+z -------- try catch
shift+alt+a -------- 多行编辑模式(块操作模式)
ctrl+shift+t ------- 查询全部类
ctrl+t -------- 查询当前类
shift+alt+j -------- 文档注释
方法返回值是集合,但是为null,不要返回null ,return Collections.EMPTY_LIST;
格式:?属性,本类与?的?
?1 属性名
?2 关联对类型
?3 关系
多对一:
一对多(Set):
多对多(Set):
/** 列表 */
public String list() throws Exception {
return "list";
}
/** 删除 */
public String delete() throws Exception {
return "toList";
}
/** 添加页面 */
public String addUI() throws Exception {
return "saveUI";
}
/** 添加 */
public String add() throws Exception {
return "toList";
}
/** 修改页面 */
public String editUI() throws Exception {
return "saveUI";
}
/** 修改 */
public String edit() throws Exception {
return "toList";
}