Examples of increaseNbOfPlays()


Examples of DAO.JDBCGameDAO.increaseNbOfPlays()

   * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
   */
  protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
  JDBCGameDAO game = new JDBCGameDAO();
  if(request.getParameter("game")!=null){
    game.increaseNbOfPlays(request.getParameter("game"));
    GameInfo gameInfo =game.getGameInfo(request.getParameter("game"));
    request.setAttribute("game", gameInfo);
    request.getRequestDispatcher("game.jsp").forward(request, response);
    /*out.println("<embed src='http://localhost:8080/in56/"+gameInfo.getNom()+".swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' height='480' width='720'/>");
    out.println("<br>Description<br>"+gameInfo.getDescription());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.