File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 105105 pw. print(StringEscapeUtils . escapeHtml4(e. getMessage()));
106106 pw. println(" </td>" );
107107 pw. println(" \t\t </tr>" );
108+ retVal. put(" message" , e. getMessage());
108109 }
109110 int groupCount = 0 ;
110111
122123 pw. println(" </table>" );
123124
124125
125- if (p != null )
126+ if (p == null )
127+ {
128+ retVal. put(" success" , Boolean . FALSE );
129+ }
130+ else
126131 {
127132 pw. println(" <table class=\" table table-bordered table-striped bordered-table zebra-striped\" >" );
128133 pw. println(" \t <thead>" );
257262 pw. println(" \t </tbody>" );
258263 pw. println(" </table>" );
259264
260- pw. close();
261-
262265 retVal. put(" success" , Boolean . TRUE );
263- retVal. put(" html" , sw. toString());
264266 }
267+ pw. close();
268+ retVal. put(" html" , sw. toString());
265269 }
266270
267271 String json = retVal. toString();
You can’t perform that action at this time.
0 commit comments