Parent Directory | Revision Log | Patch
revision 492 by torben, Sun Nov 1 16:35:48 2009 UTC | revision 494 by torben, Sun Nov 1 17:15:13 2009 UTC | |
---|---|---|
# | Line 49 public class DumpResultSet extends HttpS | Line 49 public class DumpResultSet extends HttpS |
49 | ||
50 | sb.append("<tr>"); | sb.append("<tr>"); |
51 | for (int i=1; i<=columns; i++) { | for (int i=1; i<=columns; i++) { |
52 | sb.append("<td>").append(rs.getString(i)).append("</td>"); | String value = rs.getString(i); |
53 | if (value != null) { | |
54 | value = value.replace("\n", "<br>"); | |
55 | } | |
56 | sb.append("<td>").append( value ).append("</td>"); | |
57 | } | } |
58 | sb.append("</tr>\n"); | sb.append("</tr>\n"); |
59 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |