上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 43 下一页
摘要: 实体类1: package com.etc.entity; import java.util.List; public class RoleInfo { private int rid; private String rname; private List userInfos; public int getRid() { return rid; } public void ... 阅读全文
posted @ 2017-01-12 17:40 ATJAVA 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 分为以下几类: 1、内联接(典型的联接运算,使用像 = 或 <> 之类的比较运算符)。包括相等联接和自然联接。 内联接使用比较运算符根据每个表共有的列的值匹配两个表中的行。例如,检索 students和courses表中学生标识号相同的所有行。 内连接 select a.*,b.* from a i 阅读全文
posted @ 2017-01-12 14:43 ATJAVA 阅读(270) 评论(0) 推荐(0) 编辑
摘要: AOP权限DEMO1: 实体类: package com.etc.entity; import org.aspectj.lang.annotation.Pointcut; public class User implements IUser { public static int NORMAL = 1;//普通用户角色 public static int ADMIN = 2; ... 阅读全文
posted @ 2017-01-12 11:14 ATJAVA 阅读(137) 评论(0) 推荐(0) 编辑
摘要: AOP日志DEMO1: 实体类: package com.etc.entity; import org.aspectj.lang.annotation.Pointcut; public class User implements IUser { public static int NORMAL = 1;//普通用户角色 public static int ADMIN = 2; ... 阅读全文
posted @ 2017-01-12 11:13 ATJAVA 阅读(133) 评论(0) 推荐(0) 编辑
摘要: web.xml springmvc org.springframework.web.servlet.DispatcherServlet springmvc *.html index.jsp springmvc-servlet.xml: ... 阅读全文
posted @ 2017-01-11 08:15 ATJAVA 阅读(248) 评论(0) 推荐(0) 编辑
摘要: web.xml的配置 在<servlet-mapping>中url如果是.action,前端控制器就只会拦截以.action结尾的请求,并不会理会静态的文件。对静态页面的控制就要通过其他的手段。以/作为url的话就会拦截所有的请求,包括静态页面的请求。这样的话就可以拦截任何想要处理的请求,但是有一个 阅读全文
posted @ 2017-01-11 08:14 ATJAVA 阅读(196) 评论(0) 推荐(0) 编辑
摘要: input_stu_path.jsp: showinput_stu_path.jsp: 阅读全文
posted @ 2017-01-10 17:18 ATJAVA 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 1.jsp 2.jsp 3.jsp LianxiAction: 阅读全文
posted @ 2017-01-10 17:09 ATJAVA 阅读(180) 评论(0) 推荐(0) 编辑
摘要: import java.util.HashMap; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; import org.springframework.stereotype.Controller; import org.spr... 阅读全文
posted @ 2017-01-10 17:05 ATJAVA 阅读(153) 评论(0) 推荐(0) 编辑
摘要: web.xml配置: springmvc org.springframework.web.servlet.DispatcherServlet springmvc *.html index.jsp ======================================================================== ... 阅读全文
posted @ 2017-01-10 17:02 ATJAVA 阅读(235) 评论(0) 推荐(0) 编辑
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 43 下一页