/* Automatically generated.
 * Copyright (c) 2000-2006 by SAP AG, Walldorf.,
 * http://www.sap.com
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of SAP AG, Walldorf. You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms
 * of the license agreement you entered into with SAP.
 * Do not edit.
 */

import ro.emid.common.job.JobConstants;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public class JEE_jsp_WEB_2d_INF_pagelet_common_job_startJobResponse_1471595257210 extends com.sap.engine.services.servlets_jsp.lib.jspruntime.JspBase{

	public void _jspService(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
	{
		//isXml=false
		JspFactory  _jspFactory     = JspFactory.getDefaultFactory();
		PageContext pageContext = _jspFactory.getPageContext(this,request,response,null,true,32768,true);
		ServletConfig config = pageContext.getServletConfig();
		ServletContext application = pageContext.getServletContext();
		com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl _jspx_pageContext = (com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl) pageContext;
		com.sap.engine.services.servlets_jsp.server.application.InjectionWrapper _jspx_resourceInjector = ((com.sap.engine.services.servlets_jsp.server.application.ServletContextImpl)_jspx_pageContext.getServletContext()).getApplicationContext().getInjectionWrapper();
		HttpSession session = pageContext.getSession();
		if (!response.isCommitted()) {
		response.setContentType("text/html;charset=UTF-8");
		}
		JspWriter   out     = pageContext.getOut();
		java.lang.Object page = this;
		try {
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/job/startJobResponse.jsp";from=(1,52);to=(3,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/job/startJobResponse.jsp";from=(3,0);to=(10,2)]
			
    String jobId = (String) request.getAttribute(JobConstants.JOB_ID);
    if (jobId == null) jobId = "";
    Long jobRequestId = (Long) request.getAttribute(JobConstants.JOB_REQUEST_ID);
    if (jobRequestId == null) jobRequestId = new Long(-1);
    String error = (String) request.getAttribute(JobConstants.JOB_ERROR);
    if (error == null) error = "";

// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/job/startJobResponse.jsp";from=(10,2);to=(14,14)]
			out.print("\r\n\r\n<respmesg>\r\n{\r\n    \"jobId\": \"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/job/startJobResponse.jsp";from=(14,14);to=(14,24)]
			out.print(jobId);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/job/startJobResponse.jsp";from=(14,24);to=(15,21)]
			out.print("\",\r\n    \"jobRequestId\": \"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/job/startJobResponse.jsp";from=(15,21);to=(15,38)]
			out.print(jobRequestId);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/job/startJobResponse.jsp";from=(15,38);to=(16,15)]
			out.print("\",\r\n    \"error\" : \"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/job/startJobResponse.jsp";from=(16,15);to=(16,25)]
			out.print(error);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/job/startJobResponse.jsp";from=(16,25);to=(20,0)]
			out.print("\"\r\n}\r\n</respmesg>\r\n\r\n");
// end
		} catch (ThreadDeath tde) { throw tde;
		} catch (OutOfMemoryError ome) { throw ome;
		} catch (Throwable t) {
			if (!(t instanceof SkipPageException)) {
				try {
					out.clear();
				} catch(java.io.IOException _jspioex) {}
				_jspx_pageContext.handlePageException(t);
			}
		}finally{
			_jspFactory.releasePageContext(pageContext);
		}
	}

}
