Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

The example code for this tutorial, Themes_Struts2_Ant or Themes_Struts2_Mvnthemes, is available on Google Code - httpfor checkout at https://codesvn.google.com/p/struts2-examples/downloads/listImage Removed. After downloading and unzipping the file, you'll have a folder named Themes_Struts2_Ant (or Themes_Struts2_Mvn). In that folder will be a README.txt file with instructions on now to build and run the example application.apache.org/repos/asf/struts/sandbox/trunk/struts2examples/Image Added

Introduction

When you use a Struts 2 tag such as s:select in your web page, the Struts 2 framework generates HTML that styles the appearance and controls the layout of the select control. The style and layout is determined by which Struts 2 theme is set for the tag. Struts 2 comes with three built-in themes: simple, xhtml, and css_xhtml. If you don’t specify a theme, then Struts 2 will use the xhtml theme by default.

...