Struts University uses the same "Tomcat Example" format. The idea is that the examples will be ordered and grouped to help teach Struts through a series of working examples.
I've made a prototype available for review. The first example is using an action as welcome page (via redirection). This does double duty as the welcome page to the university application.
The prototype with the first example is up on SourceForge.
http://sourceforge.net/project/showfiles.php?group_id=49385
It's way down under the "slides" release category. I put it under the "slides", since I may do a set of companion presentations to go with these, so it becomes more like an actual class.
[See org.apache.struts.university.UniversityTestCase.APP_ROOT before trying to run the test target.]
My intention is to use simple-but-effective best practices throughout the application and examples and to also use all the standard bells-and-whistles like Tiles and the Validator.
I'd also like to provide Struts TestCases for each example. This package has been available on SourceForge for some time and is growing in popularity. There are still some rough edges, but nothing that can't be smoothed out. (One of which is that you usually need to set the local system path to run the Mock tests.) I'm sure the examples will generate some useful patches -- I've one pending already.
The proposed end-game would be to first consolidate our various examples (upload, validator, tiles, Steve's examples, and more) into the Struts University application. Then, we could considering making the MailReader, Taglib-Exercises, University, and the Website Documentation, all standalone modules of a single "Struts Library" application. (Blank would remain standalone.)
It's my feeling that a single modular application will not only save bandwidth on the binary downloads (since all the same JARs are replicated in each), it will make everything more accessible, since the Struts Library application can act as a portal to the modules.
Of course, I'll setup a prototype that everyone can play-test before suggesting any changes to the HEAD.
-Ted.
-- Ted Husted, Junit in Action - <http://www.manning.com/massol/>, Struts in Action - <http://husted.com/struts/book.html>, JSP Site Design - <http://www.amazon.com/exec/obidos/ISBN=1861005512>.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]