摘要: 阅读全文
posted @ 2013-02-21 21:33 一直向北 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 在action的方法的最后,一般情况下都使用return mapping.findForward("xxxxx");如果想跳转到另外一个action的某个页面,可以这样:ActionForward actionForward = new ActionForward();actionForward.s... 阅读全文
posted @ 2013-02-21 21:30 一直向北 阅读(181) 评论(0) 推荐(0) 编辑
摘要: public static String getPath() {String path = "";Properties prop = new Properties(); try { InputStream in = ImageURL.class.getClassLoader().getResourc... 阅读全文
posted @ 2013-02-21 21:26 一直向北 阅读(112) 评论(0) 推荐(0) 编辑
摘要: (1)页面上需要传入的请求信息:当前操作[url],当前页号,每页显示数[可不由前台传入,由用自定义,从配置文件中读入]。(2)前台页面要显示的页号信息:第一页,上一页,下一页,末一页。或页面信息要由根据查询出的数据,根据实际情况生成显示页面。(3)页面传至controller,调用service层... 阅读全文
posted @ 2013-02-21 21:24 一直向北 阅读(142) 评论(0) 推荐(0) 编辑