开发者

Can any framework project use Struts-taglib

开发者 https://www.devze.com 2022-12-28 01:26 出处:网络
I have read here that one disadvantage that some may find with using Spri开发者_StackOverflowng MVC over Struts is that Struts has tags that output HTML code, while Spring has tags that don\'t generat

I have read here that one disadvantage that some may find with using Spri开发者_StackOverflowng MVC over Struts is that Struts has tags that output HTML code, while Spring has tags that don't generate HTML.

My question is can't you just use the Struts tag-lib in a Spring MVC project (or any other kind of framework project), by dropping the right jar into the WEB-INF/lib folder?

Any clarification is appreciated, thanks.


Spring does integrate with Struts. It's not as easy as just dropping the JAR and its dependencies; you have to configure Spring to know about Struts.

0

精彩评论

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