开发者

Why was Jakarta jsp log taglib retired?

开发者 https://www.devze.com 2023-03-17 06:44 出处:网络
I understand that jakarta taglibs were retired since most of the functionality was replaced by JST开发者_运维技巧L, however, why was the Logs taglib retired? Is there a better alternative to this stra

I understand that jakarta taglibs were retired since most of the functionality was replaced by JST开发者_运维技巧L, however, why was the Logs taglib retired? Is there a better alternative to this straightforward taglib for logging?


I assume that jakarta logging was retired because it's considered a bad thing to do logging within your view templates.

I'd recommend that you design your JSPs in a way that you don't require any logging inside. Put all the logic into the beans which are displayed, and do the logging there as well.

0

精彩评论

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