Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / April 2005

Tip: Looking for answers? Try searching our database.

Struts

Thread view: 
Mad2Bad - 29 Nov 2004 13:57 GMT
How to start working with struts? Any suggestions?

THx.
Anzime - 01 Dec 2004 05:02 GMT
> How to start working with struts? Any suggestions?
>
> THx.

1) google struts, and read everything; understand the framework.
2) download the struts binaries from struts.apache.org.
3) play with the starter app that comes with struts.
4) modify struts-config.xml, write action classes, use validation.
5) post specific questions about problems you experience.

Signature

Regards,
Anzime

Heiner K?cker - 04 Dec 2004 10:52 GMT
> How to start working with struts? Any suggestions?
>
> THx.

Copy the struts-blank directory in the Tomcat webapps directory and
amplify this step by step.

Or use an better Framework like

http://www.heinerkuecker.de/Cnc.html

Online Demo available at

http://www.control-and-command.de

Heiner Kuecker
Internet: http://www.heinerkuecker.de  http://www.heiner-kuecker.de
JSP WorkFlow PageFlow Page Flow FlowControl Navigation: http://www.control-and-command.de
Expression Language Parser: http://www.heinerkuecker.de/Expression.html
Bob Kranson - 04 Jan 2005 04:39 GMT
Anzime has a good response.  Lots to read about Struts.

Get to know the controller servlet and how it redirects actions with form
data.  The controller is configured via the struts-config.xml.

Get to know the action class and its responsibility.  Careful to correctly
use the model-view-controller concept and not mix too much logic in
presentation of data.  You lose the idea of Struts and its separation of
duties in the application.

Get to know the action form classes.  This holds the data that you pull for
the JSP into the final html delivered to the client.

Know a bit about state management either via the session, request, or in the
query string or aka getParameter.

Hope this helps.

Regards,
Bob Kranson

> How to start working with struts? Any suggestions?
>
> THx.
Carlus - 01 Apr 2005 04:58 GMT
Download it, and look at some of the example applications that come with
it.  Use tomcat to deploy the sample applications.

If you really have the energy and the drive, I would highly recommend
looking at Matt Raible's Equinox project.  It is a great starter for not
only learning struts, but some other useful open source tools as well.

I hope that this helps.

Thanks
Carlus
> How to start working with struts? Any suggestions?
>
> THx.
littlewild@gmail.com - 01 Apr 2005 10:22 GMT
I am surprised that no one suggested getting a book on Struts.

I know there are tons of Struts information online but I felt that most
of the materials are not very newbie friendly. Most of the knowledge
come in bits and pieces and can be rather confusing if you are new to
the MVC concept.

Personally I feel it's better to borrow a good book that covers Struts
in detail and start with that.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.