public void handleRequest(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException {
logger.debug("Entering in DirectPayPaymentResponseHandler handleRequest() method");
logger.debug("responseParameter="
+ request.getParameter("responseParameter"));
logger.debug("responseparams=" + request.getParameter("responseparams"));
String respParams = request.getParameter("responseparams");
try{
boolean flag=processRequest(respParams);
if(flag){
//response.sendRedirect("http://localhost:8080/customer/Success.xhtml");
} else {
//response.sendRedirect("http://localhost:8080/customer/Failure.xhtml");
}
} catch(Exception e){
logger.fatal("Error:- "+ e.getMessage());
}
问问题
60 次