zoukankan      html  css  js  c++  java
  • Quick Tip: How to Add Syntax Highlighting to Any Project

    Quick Tip: How to Add Syntax Highlighting to Any Projectpublic String showAllArticleForPage() throws Exception{HttpServletRequest request = ServletActionContext.getRequest();String username=(String) ActionContext.getContext().getSession().get("user");System.out.println("showAllArticleForPage===发表文章和改动文章后跳转的页面 =username="+username);String pageIndexS = request.getParameter("pageIndex");Integer pageIndex = 1;Boolean pcOrmobile=HttpRequestDeviceUtils.isMobileDevice(request);System.out.println("pcOrmobile=="+HttpRequestDeviceUtils.isMobileDevice(request));if(pcOrmobile){ return "mobile";}if(!"".equals(pageIndexS) && pageIndexS != null){pageIndex = Integer.parseInt(request.getParameter("pageIndex"));request.setAttribute("pageIndex", pageIndex);}//request.setAttribute("pager", articleService.showAllArticleForPageByUsername(username,pageIndex));//request.setAttribute("pager", articleService.showAllArticleForPage(pageIndex));request.setAttribute("type", "sign");return "articlesList";}
  • 相关阅读:
    2019.9.25 初级数据结构——树状数组
    2019.9.29 陪审团
    2019.9.27 硬币
    0070-星星阵
    0069-简单的回文数问题
    0068-简单的求和问题
    0067-水仙花数
    0066-若干个数求和问题
    0065-数方块
    0064-简单的平方和
  • 原文地址:https://www.cnblogs.com/mengfanrong/p/4001725.html
Copyright © 2011-2022 走看看