Is Boostrap compatible with Struts 2?

后端 未结 2 1832
無奈伤痛
無奈伤痛 2021-01-03 03:15

I am using Bootstrap for my UI development. When I use Struts 2 tags for textfield in it, the complete page alignment is destroyed. When I replace the s:<

2条回答
  •  执念已碎
    2021-01-03 03:53

    Solution n.1:

    Use the simple theme and write the Bootstrap-compliant HTML on your own:

    
    

    Solution n.2:

    Use the Struts2 Boostrap plugin (showcase) and the bootstrap theme and let it automatically generate the Bootstrap-compliant HTML from Struts tags:

    
    

提交回复
热议问题