I'm copying in the user list, in case others might be interested.
On 10/30/06, an correspondant wrote to Ted Husted:
I am reading the Struts in Action book. Very long story short, I am an "old school" programmer, trying to get up and running in the new world order of Java, JSP, Struts, etc... The last time I programmed professionally was 17 years ago in Fortran77!!! Since then I have followed computing developments like OOP as nothing more than a layman. I have a wide ranging awareness of software technologies but my hands on experience with Java, et al... is next to nothing. I introduced myself to the various Java technologies a few weeks ago. I am struggling to get a web application up and running on my machine that will allow me to further learn Java and JSP and Struts. I was successful installing Tomcat 5, coding, compiling and running the absolute simplest of servlets. Also I successfully deployed the register.war application discussed in the book. I am interested in something more robust like the shopping cart app related to the apache.Struts project to deploy, but can not find it. Can you point me toward that web app or another web app that I can deploy on my machine for further study of the Struts and Java paradigm.
Depending on what you plan to do, you might not want to start off with Struts. A better entry point might be a plain-old JSP application using Java Standard Tag Library (JSTL). For small applications of five pages or so, it can be just as easy to embed the business and data access logic into the pages, rather than get into the separation of concerns that Struts provides. But, the larger the application, the more useful a framework like Struts can be. It's not uncommon for people to start small and soon outgrow "model 1". For Struts 1, Struts: The Complete Reference by James Holmes has a simple application that it uses for lab exercises. There are also several working applications listed at Struts Central, most of which can be downloaded and deployed. * http://www.StrutsCentral.net/Resources/Struts1/powered.html For Struts 2, the WebWork in Action book uses "Caveat Emptor" as an example, which is also used in the Hibernate in Action book. Aside from the bundled examples, there are a few more around that can be downloaded and deployed. * http://www.StrutsCentral.net/Resources/Struts2/powered.html - HTH, Ted. * http://husted.com/struts/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]