Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的 jsp 项目中有一个包含 java 类的页面(在 jsp 页面内声明),现在我需要调试该类,因为应该将注释和异常写入页面,我尝试了 out.println("") , out.write("") 但两者都不起作用......请帮忙
我有一个替代解决方案,1)在java类中声明一个List变量来保存注释和异常2)函数执行完成后,使用类的对象访问页面中的列表3)最后使用out将值打印到页面.println("")。