|
|
||||
|
||||
|
|
||||
|
||||
|
|
|
|
||||
|
||||
|
|
||||
|
||||
|
|
Struts1 Faq | |
|
This page contains Frequently Asked Questions relating to Struts 1
How can I learn Struts? Start by checking out what is available at the Struts Home Page . This site has links to a lot of good information about Struts. Then check out the Struts Wiki. This page has a wealth of good information about struts 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. Here are some simple flash tutorials on creating a Struts application with WebSphere Studio WSAD and Struts 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. Here are some good books on Struts:
For a more complete list, see the Struts Wiki Books Page. Also check out the JavaRanch Bunkhouse J2EE book list for some reviews of Struts books.
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.
This page compiled and edited by Merrill Higginson StrutsFaq | |