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 105
105
pw. print(StringEscapeUtils . escapeHtml4(e. getMessage()));
106
106
pw. println(" </td>" );
107
107
pw. println(" \t\t </tr>" );
108
+ retVal. put(" message" , e. getMessage());
108
109
}
109
110
int groupCount = 0 ;
110
111
122
123
pw. println(" </table>" );
123
124
124
125
125
- if (p != null )
126
+ if (p == null )
127
+ {
128
+ retVal. put(" success" , Boolean . FALSE );
129
+ }
130
+ else
126
131
{
127
132
pw. println(" <table class=\" table table-bordered table-striped bordered-table zebra-striped\" >" );
128
133
pw. println(" \t <thead>" );
257
262
pw. println(" \t </tbody>" );
258
263
pw. println(" </table>" );
259
264
260
- pw. close();
261
-
262
265
retVal. put(" success" , Boolean . TRUE );
263
- retVal. put(" html" , sw. toString());
264
266
}
267
+ pw. close();
268
+ retVal. put(" html" , sw. toString());
265
269
}
266
270
267
271
String json = retVal. toString();
You can’t perform that action at this time.
0 commit comments