Package com.tubeonfire.model.admin

Examples of com.tubeonfire.model.admin.PlaylistModel


  private static final Logger log = Logger
      .getLogger(YoutubeSearchServlet.class.getName());

  public void doGet(HttpServletRequest req, HttpServletResponse resp)
      throws IOException, ServletException {
    PlaylistModel plModel = new PlaylistModel();
    plModel.prepareAll(true);
    if (plModel.getListResult().size() > 0) {
      req.setAttribute("plModel", plModel);
      process(req, resp);
    } else {
      HttpSession session = req.getSession();
      session.setAttribute("alert",
View Full Code Here


      try {
        page = Integer.parseInt((String) req.getParameter("page"));
      } catch (Exception e) {
        page = 1;
      }
      PlaylistModel cateModel = new PlaylistModel();
      cateModel.setPage(page);
      cateModel.prepareAll(true);
      req.setAttribute("url", req.getRequestURL().toString());
      req.setAttribute("result", cateModel);
      req.getRequestDispatcher("/admin/list_playlist.jsp").forward(req,
          resp);
    } catch (Exception e) {
View Full Code Here

TOP

Related Classes of com.tubeonfire.model.admin.PlaylistModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.