Exemplo n.º 1
0
 public String viewCategory() {
   try {
     if (categoryId > -1) {
       System.out.println("categoryid>1");
       songList = catalogService.getSongListByCategoryId(categoryId);
       category = catalogService.getCategoryById(categoryId);
     }
     return "success";
   } catch (Exception ex) {
     System.out.println("got ex");
     ex.printStackTrace();
     return null;
   }
 }