这个jsp文件怎么处理?
// JavaScript Document
//JS异常处理,从头到尾
try{
fullDateStr = "2015年11月26日";//实时行情最新日期
rowCount = "10";//实时行情记录行数
document.writeln("<table cellpadding=\"0\" cellspacing=\"1\" style=\"width:100%; border: 0px none; background-color: #888888;\">");
document.writeln(" <thead>");
document.writeln(" <tr class=\"pricetitlecolor\" style=\"background-color: #EFEEEE;\">");
document.writeln(" <td style=\"width: 26%; height: 18px; color: #333333;\">交货合同</td>");
document.writeln(" <td style=\"width: 48%; height: 18px; color: #333333;\">价格(元/吨)</td>");
document.writeln(" <td style=\"width: 26%; height: 18px; color: #333333;\">涨 跌</td>");
document.writeln(" </tr>");
document.writeln(" </thead>");
document.writeln(" <tbody>");
document.writeln(" <tr style=\"background-color: #FFFFFF;;\">");
document.writeln(" <td>S15121</td>");
document.writeln(" <td>5185</td>");
document.writeln(" <td style=\"color: #006600;;\">-10</td>");
document.writeln(" </tr>");
document.writeln(" <tr style=\"background-color: #EDF7F9;;\">");
document.writeln(" <td>S15122</td>");
document.writeln(" <td>5205</td>");
document.writeln(" <td style=\"color: #FF0000;;\">16</td>");
document.writeln(" </tr>");
document.writeln(" <tr style=\"background-color: #FFFFFF;;\">");
document.writeln(" <td>S15123</td>");
document.writeln(" <td>5220</td>");
document.writeln(" <td style=\"color: #FF0000;;\">27</td>");
document.writeln(" </tr>");
类似的这个的写法,能够得到他运行后的html的文本吗 ,类似的在浏览器执行后的效果 ,用java怎么实现,请高手指导下