答案:清单 5. printDOMTree
if (requestedSubtree.equalsIgnoreCase("author")) printDOMTree(author, out); else if (requestedSubtree.equalsIgnoreCase("lines")) printDOMTree(lines, out); else if (requestedSubtree.equalsIgnoreCase("title")) printDOMTree(title, out); else printDOMTree(doc, out); 上一个:用 JSP 在客户端生成 javascript 代码来实现表单校验 更多图片编程知识:
访问www.zzzyk.com 试试 CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络, |