private static void printAttribute ( final PrintWriter writer , final HttpServletRequest request , final String attribute ) { writer . println ( "<tr><td>" + attribute + "</td><td>" + ( request . getAttribute ( attribute ) != null ? request . getAttribute ( attribute ) : "" ) + "</td></tr>" ) ; }
Prints an error request attribute .