Package su.mauser.service

Examples of su.mauser.service.InsertActorPageServiceImpl


      {
        if (connectionStatus != DBStatus.CONNECTED)
        {
          response.redirect("/dberror");
        }
        InsertActorPageServiceImpl insertActorPageService = new InsertActorPageServiceImpl(db);
        Map<String, Object> model = new HashMap<String, Object>();

        // После заполнения формы - запрос на добавление
        // Фамилия актёра - обязательна для ввода
        if (request.queryParams().size() > 0 && request.queryMap().get("lname").value().length() > 0)
        {
          model.put("view", insertActorPageService.insert(request.queryMap()));
        }
        // Первоначальная форма, до заполнения параметров
        else
        {
          model.put("view", insertActorPageService.getInsertPageView());
        }

        logger.debug("Started route to /insertactors");

        return modelAndView(model, "src/main/java/resources/templates/insertActorPage.vm");
View Full Code Here

TOP

Related Classes of su.mauser.service.InsertActorPageServiceImpl

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.