开发者

session attribute removal from jsp

开发者 https://www.devze.com 2023-01-30 06:26 出处:网络
Is it possible to call taglib to remove the attribute on certain object events like onClick() etc because right now these are getting called when the page is getting loaded,I don\'t want this to happe

Is it possible to call taglib to remove the attribute on certain object events like onClick() etc because right now these are getting called when the page is getting loaded,I don't want this to happen as the user has to be able to see a report which will require a attribute as well the page where page where is navigates to before the report is beeen presented is the one where this attribute needs开发者_开发技巧 to be removed.

Thanks in advance


You can issue an ajax-request onclick, and then, in a servlet, you can call session.remove().

0

精彩评论

暂无评论...
验证码 换一张
取 消