order = orderDAO.find(orderId);
Form form = null;
form = formDAO.find(formId);
Room room = null;
room = roomDAO.find(roomId);
Double amount = null;
if (form != null && room != null) {
amount = room.getNightPrice() * form.getNights();
orderDAO.update(roomId, amount, order.getId());
orderDAO.update(OrderStatusEnum.CHECKED, order.getId());
}
request.setAttribute(AttributesManager.ATTRIBUTE_RESULT, MessageManager.RESULT_SELECT_ROOM_MESSAGE);