开发者

Why was Jakarta jsp log taglib retired?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜