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.
是否可以调用 taglib 来删除某些对象事件(如onClick()等)的属性,因为现在这些在页面加载时被调用,我不希望这种情况发生,因为用户必须能够看到报告将需要一个属性,并且在呈现报告之前导航到的页面是需要删除该属性的页面。
onClick()
提前致谢
您可以发出 ajax-request onclick,然后在 servlet 中调用session.remove().
onclick
session.remove()