Is Boostrap compatible with Struts 2?

I use Bootstrap to develop my interface. When I use Struts 2 tags for textfieldin it, the full page alignment is destroyed. When I replace the tags s:(Struts 2 tags) with regular tags, it works fine.

Do I need to include any additional jar?

+4
source share
2 answers

Struts 2 uses themes when rendering the output of a JSP page. You can learn more about topics in Struts 2 Themes . To change the default theme, put this instruts.xml

<constant name="struts.ui.theme" value="simple"/>
+2
source

Solution n.1 :

simple HTML-, Bootstrap:

<constant name="struts.ui.theme" value="simple" />

n.2:

Struts2 Boostrap (showcase) bootstrap, HTML-, Bootstrap, Struts:

<constant name="struts.ui.theme" value="bootstrap" />
+1

All Articles