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.
textfield
s:
Do I need to include any additional jar?
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
struts.xml
<constant name="struts.ui.theme" value="simple"/>
Solution n.1 :
simple HTML-, Bootstrap:
simple
<constant name="struts.ui.theme" value="simple" />
n.2:
Struts2 Boostrap (showcase) bootstrap, HTML-, Bootstrap, Struts:
bootstrap
<constant name="struts.ui.theme" value="bootstrap" />