摘要:
package test; public class Test { public static void main(String[] args) { int a, b; a = 10; b = 12; System.out.println(a + " " + b); /* * 借助第三方变量 这种算 阅读全文
摘要:
项目中经常遇到页面中需要展示菜单树,如bootstrap的tree控件,要用到递归查询,其实对于jsp页面用到的树形目录,就是要让查询出来的数据按父子目录排序好,数据直接传给前台前台控件展示,下面,鄙人粗浅的来讲下递归查询: 不多说,直接上代码: public class Test(){pu... 阅读全文