Patrick has published another excellent article on Tiles. This one is titled Tiles 201 and is about using Tiles Controllers. Good stuff to know - especially since I've never used a Tiles Controller (I might now!). I really like the clear and concise way that Patrick writes tutorials. I think we, as open source developers, should do more of this to better explain the technologies we use. So next time you're interested in learning something, I encourage you to write a tutorial on it - I'm willing to bet you'll learn and retain a lot more. If you don't understand something or make mistakes, I'm sure there are many Java Bloggers willing to help you get it right.
Patrick mentions that the Tiles Controller is not discusses in any of the existing Struts books. This sounds like an opportunity for me to include it in my chapter. With Patrick's simple and easily-understood example, this shouldn't take too much effort. Thanks Patrick - great stuff! One question I have - I know that these types of posts take a long time to create/edit and correct. Your blog says "sponsored by browsermedia" - does that mean you get paid to blog in a sense? Meaning - are you writing these articles at work?
I saw this nugget a few minutes ago on the struts-user mailing list. Maybe I'll even read it... ;-)
For those of you wondering how JSP technologies, including JSP 2.0,
JSTL, Struts and the upcoming JavaServer Faces (JSF) 1.0, can work
together with XML and XSLT, there is a new article at
TheServerSide.com about this subject.
http://www.theserverside.com/resources/article.jsp?l=BestBothWorlds
The article presents the natural evolution of server-side Java
programming from basic servlet programming to JSP 2.0 with JSTL and
JSF, shows the limitations of the current JSF rendering architecture
and how XML technologies can solve them.
The article comes with sample code that shows how to hookup an XSLT
transformer with a JSP filter, and includes an experimental XML
renderer for JSF.
I won't be installing Tomcat 4.1.20 Alpha since Tomcat 4.1.18 has been working fine for me, but the changes are insteresting nonetheless.
Tomcat 4.1.20 Alpha is now available for testing.
Changes over Tomcat 4.1.19 include:
- Fix classloading failures when using Tomcat in JNI mode with JK 2
- Upgrade to Xerces 2.3.0
- Admin webapp fixes (including fixes to saving to server.xml)
- Disable recycling of sessions
- Refactoring of session persistence
- Disable socket linger in Coyote HTTP/1.1 (delay when closing a socket), and allow configuring it
- Allow cross context from the root context
- Documentation updates
- Fix memory leak in Jasper when compiling JSP pages
- Fix JspC, which may now be used again for complex webapps precompilation, such as Tomcat's own admin webapp
- Fix isThreadSafe feature in Jasper
- Fix JspWriter recycling after an exception was thrown in a tag's body content
The release notes include the full list of changes.
[Download]