O'Reilly logo

Learning Jakarta Struts 1.2: a concise and practical tutorial by Stephan Wiesner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

9.3 Consistent Layout with Struts Tiles

Java Swing provides various different preset layouts for creating graphic user interfaces, and you can change the appearance of the entire application by changing just one configuration entry. JSPs don’t offer any parallel mechanism, because of the basic limitations of web pages. Although you can achieve a lot with Cascading Style Sheets (CSS), what CSS cannot do is layout customization.

Templates and Tiles fill this gap. Since the concept of templates is an old one and they are a part of Tiles, we won’t go here into their details here. You have come across quite a few references to tiles as we’ve built up our application to this point. You may have noticed the relevant entry in struts-config.xml or the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required