File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Why Use Struts? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Why Use Struts?" Watch "Why Use Struts?" New topic
Author

Why Use Struts?

Manas Ahlaad
Ranch Hand

Joined: Nov 07, 2001
Posts: 165
Hi all
Has anyone found any advantages of using struts, while i was reading the struts document by apache , they only said that its as good as anyother framework that is well implemented and designed
where does that efficiency of struts come? and how
may be there are definged taglibs and action servlets , i dont think they play significant role.

any body say anything on it
thanks


Manas<br />Today If You are not Confused,You are just not thinking Clearly !<br />---------------------------------
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
Strut allows you to implement a properly designed web application with clear separation between business and presentation logics (MVC model).
The benefit is really in the long run. When you need to maintain your code in the future, you'd be glad you choose a good architecture.


Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
seradmin
Greenhorn

Joined: Mar 14, 2002
Posts: 14
hai everybody..
Can anybody give a small example on MVC using struts,and the sequence of steps I need to follow.
can anybody help me..
seradmin
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15950
    
  19

http://www.devx.com/premier/mgznarch/javapro/2002/04apr02/th0402/th0402-1.asp
For a live "walking tour" of a Struts app:
http://www.mousetech.com/strutdemo/index.jsp
[ April 12, 2002: Message edited by: Tim Holloway ]
[ April 12, 2002: Message edited by: Tim Holloway ]

Customer surveys are for companies who didn't pay proper attention to begin with.
Jim Petersen
Ranch Hand

Joined: Jul 24, 2001
Posts: 241
You may want to look at this as well:
http://www.husted.com/ for additional resources
and a good, gentle introduction written by JR's very own Thomas Paul in the March newsletter:
http://www.javaranch.com/newsletter/Mar2002/newslettermar2002.jsp#struts


- Jim Petersen <br />SCJP2<br />SCWCD<p>- but then again, I could be wrong...
Manas Ahlaad
Ranch Hand

Joined: Nov 07, 2001
Posts: 165
if one asks us why did u adopt struts technology ,what should we say for it?
SUJIT SHETH
Greenhorn

Joined: Apr 19, 2002
Posts: 2
Struts allows JSP/Servlet writers the ability to fashion their web applications using the MVC design pattern.
By designing your web application using Struts you allow:
Architect the ability to design using the MVC pattern
Developer to exploit the Struts framework when building the app.
Web designer to be sheltered from learning how to program
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why Use Struts?
 
Similar Threads
Support for EL in Struts 2
Struts Design and Programming by Budi Kurniawan
AutoSubmit When a Page is Called
exception in my application with tomcat 5.0
book for struts