Boostrap与Struts 2兼容吗?

AJE*_*AJE 5 html jsp struts2 twitter-bootstrap struts2-bootstrap-plugin

我正在使用Bootstrap进行UI开发.当我在其中使用Struts 2标记textfield时,完整的页面对齐将被破坏.当我s:用普通标签替换(Struts 2标签)标签时,它工作正常.

我需要加入任何额外的罐子吗?

Rom*_*n C 2

Struts 2 在呈现 JSP 页面的输出时使用主题。您可以在Struts 2 Themes中阅读有关主题的更多信息。要更改默认主题,请将其放入struts.xml

<constant name="struts.ui.theme" value="simple"/>
Run Code Online (Sandbox Code Playgroud)