gatewayControllerUtil and workflow.jsp modified