<%@ page language="java" contentType="text/plain;charset=UTF-8"%><%@ page import="com.edeal.frontline.navigation.FlRequest" %><%@ page import="com.edeal.frontline.Utils" %> <%@ page import="java.util.Vector" %> <%@ page import="com.edeal.frontline.controller.actions.*"%> <% FlRequest flRequest=new FlRequest(request); Boolean fValueAlreadyExists=(Boolean)flRequest.getAttribute(UnicityAction.UNICITY_EXISTS_KEY_BOOLEAN); String previousKey=(String)flRequest.getAttribute(UnicityAction.UNICITY_OLDKEY); if (fValueAlreadyExists!=null && fValueAlreadyExists) { %>{"value_exists":true,"existing_id":"<%=previousKey%>"} <% } else { %> {"value_exists":false} <% } %>