Printing CLOB Object Data in JSP
<tr>
<td>
<PRE><%String line;
if (docObj != null) {
BufferedReader in = new BufferedReader(docObj.getDocument().getCharacterStream());
line = in.readLine();
while (line != null) {
line = line.replace(">", ">");
line = line.replace("<", "<");
out.println(line);
out.flush();
line = in.readLine();
}
}
%>
</PRE>
</td>
</tr>
Comments
Post a Comment