I'm using Tiles in my application, and it worked before, but since I upgraded to Struts 1.3.x it stopped working. What's wrong? (Tiles13Upgrade)
Is there a way to get Struts to reload the message resources files without restarting the server or the application? (ReloadMessageResources)
I'm trying to generate Struts tags dynamically in a scriptlet, but it doesn't seem to work. What's wrong? (StrutsTagsInScriptlets)
I've got a JSP with a select tag and options generated from a database that I put in request scope. It works fine if there are no errors, but if Struts validation returns to the input page because of a validation error, the collection of options is no longer there. How can I solve this problem? (RefreshValuesOnValidationError)
When you're first starting out, though, it's much better to learn by trying it out than poring over a bunch of reference materials.
If you want to start out just using your favorite text editor, the Struts Wiki Tutorials Page has the best listing of free tutorials.
If you're going to be using an IDE, such as Eclipse or NetBeans, you're in luck. Struts is popular enough and has been around long enough that most IDEs now have some sort of Struts support. When you're learning, it's a good idea to search for a Struts tutorial that is geared toward your particular IDE. Try Googling "Struts Tutorial xxx" where xxx is the name of your favorite IDE.
While it's true that there's a lot of good reference material on the Struts Home Page, a book written by a professional author can provide a much more organized, concise, and clear picture of the framework.
Where can I find an example of a Struts Application?
The first place to start is with the material you received when you downloaded Struts. When you unzip the file, there is a webapps directory. In this directory, you will find the struts-examples.war file. Deploy this war file to your app server and run it. Then look at the source code for it. That should give you a good idea of some of the things you can do in Struts, and how it all works.
You may say, "Yes, I've looked at that, but it's really just a toy application that doesn't do anything important. I want an example of a real application that was built using Struts." If you want real applications, you can download several from this page on SourceForge. The Beer4All application on that page is a good example of a shopping cart application using Struts.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop