adspace
Answer Posted / Chandan Kishore
No, it is not recommended or allowed to call the destroy() method inside the init() method in JSP. The init() method is called when the JSP page is loaded, while the destroy() method is called when the page is unloaded. Calling the destroy() method prematurely can lead to unexpected behavior.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers