Wednesday, August 17, 2016

ATG JSP Logs

I used bellow loggers in order to trace whether responses are received in JSP level

<dsp:page>
<%@page import="atg.servlet.DynamoHttpServletRequest"%>

<%
        DynamoHttpServletRequest req = atg.servlet.ServletUtil.getDynamoRequest(request);

        String receiptId = request.getParameter("receiptId"); 
        req.logDebug("Receipt received : "+receiptId);
%>
</dsp:page>

No comments:

Post a Comment