String url = request.getRequestURL().toString();

  String[] str = url.split("/",7);

    String geturl = str[6];

  

   int page_size = 7;

   int group_size = 3;

   int totalCount;

   int pageCount;

   int curPage;

   

   if(reqPage==null){

   curPage=1;

   }else{

   curPage= Integer.parseInt(reqPage);

   }

  

 

반응형

+ Recent posts