我正在使用MySQL,Java,JSP。如果我遇到如下错误,如何在不手动查看代码的情况下找到错误?该文件是.jsp。网页错误:
com.itextpdf.tool.xml.exceptions.RuntimeWorkerException:无效 找到嵌套标签td,预期结束标签br
strBuffer.append("<tr><td colspan=\"2\" ><strong>BlahVariable</strong>
</td>");
strBuffer.append("<td colspan=\"5\" >");
strBuffer.append("</td></tr><tr>");
strBuffer.append("<td colspan=\"2\" ><strong>BlahVariable</strong></td><td
colspan=\"5\" >");
if(BlahVariable.equals("Y") ||BlahVariable!=0)
strBuffer.append(BlahVariablez);
else
strBuffer.append("-");
strBuffer.append("</td></tr><tr>");
strBuffer.append("<td colspan=\"2\" ><strong>Blah blah <sup>♦</sup>
</strong></td>");
strBuffer.append("<td colspan=\"5\" >"+ BlahVariable+"</td></tr><tr>");
strBuffer.append("<td colspan=\"2\" ><strong>BlahVariable</strong></td>");
strBuffer.append("<td colspan=\"5\" >");
答案 0 :(得分:0)