November 19, 2010 at 3:02 PM
Struts is a framework follows MVC desigen pattran. so it offers different advantages for the programmer.
It reduces the development maintance time.
Centralizetion of Configuration :
Rather than hard coding information into java programs,many Struts values are represented in XML or property files.
Struts_config.xml file is the place from where you can get all informations about your web application. It is organized,
your Action class , Form bean and JSP page information is in Struts_config.xml so don't need to search .
Form Beans :
Don't need to set the form vales to your value object . When you want to capture data from a form ( In the servlet you do request.getParameter()).
In the struts you don't need to do explicitly request.getParameter(). Struts request processor will do for you. All the input data will be set to form bean.
Bean Tags :
Struts provides a set of custom JSP tags (bean:write,in particular) that let you easily output the properties of JavaBeans components.
Basically,these are concise and powerful variations of the standard jsp:useBean and jsp:getProperty tags.
HTML tags :
Struts provides a set of custom JSP tags to create HTML forms that are associated with JavaBeans components.
Form Field Validation :
Apache Struts has built-in capabilities for checking that form values are in the required format or not .if values are not in proper format then the form can be automatically display with error message and with the previously entered values.
This validation can be performed on the server (in Java),or both on the server and on the client (in JavaScript).
Thanks.
January 27, 2013 at 12:29 AM
Advantages of Struts:
**We can deliver the projects easily
**We can reduce the project development time
**Maintanace Of the Project becomes very Easy
**It Follows MVC architecture
**All the required values are write in the xml files,so we can easily change.
**We no need to provide setters and getters methods for java beans.
**We no need to write huge amount of serverside validations
**We have struts tag libraries to do specific works
**We can easily Handle Errors and display appropriate messages
**We can develop "I18N" applications easily
RAMAKRISHNA VAKKALAGADDA
Related Tutorials/Questions & Answers:
Advertisements
advantages of Servletsadvantages of Servlets What is
advantages of Servlets ?
Portability.
Powerful.
Efficiency.
Safety.
Integration.
Extensibilty.
Inexpensive
Advantages of XML Advantages of XML hello,
what are the advantage of XML?
Hii,ADS_TO_REPLACE_1
These are the some advantage of xml
1.It is as easy as HTML.
2.XML is fully compatible with applications like JAVA, and it can
Struts by the application.
There are several
advantages of
Struts that makes it popular...Struts Why
struts rather than other frame works?
Struts is used into web based enterprise applications. Struts2 cab be used with Spring
What are Advantages and Disadvantages of AJAXWhat are
Advantages and Disadvantages of AJAX Hi,
I want to know about the
Advantages and Disadvantages of AJAX. Let's know the details.
Thanks
There are several
advantages of Ajax but few disadvantages also
VoIP Advantages
VoIP
Advantages
VoIP
Advantage and Disadvantage
Advantages of VOIP services: You get to make free long distance calls, and you....
Advantages and Disadvantages of VOIP-Intertangent Technology
Struts Struts How to retrive data from database by using
Struts STRUTSSTRUTS MAIN DIFFERENCES BETWEEN
STRUTS 1 AND
STRUTS 2
STRUTSSTRUTS MAIN DIFFERENCES BETWEEN
STRUTS 1 AND
STRUTS 2
StrutsStruts how to learn
struts StrutsStruts what is SwitchAction in
struts STRUTS STRUTS Request context in
struts?
SendRedirect () and forward how to configure in
struts-config.xml
strutsstruts in industry,
struts 1 and
struts 2. which is the best?
which is useful as a professuional
Have a look at the following link:
Struts Tutorials
StrutsStruts Tell me good
struts manual
strutsstruts what are the 4 methods of
struts framework
strutsstruts shopping cart project in
struts with oracle database connection shopping cart project in
struts with oracle database connection
Have a look at the following link:
Struts Shopping Cart using MySQL
Struts Struts When Submit a Form and while submit is working ,press the Refresh , what will happen in
Struts strutsstruts Hi
what is
struts flow of 1.2 version
struts?
i have
struts applicatin then from jsp page how
struts application flows
Thanks
Kalins Naik
Please visit the following link:
Struts Tutorial
strutsstruts why doc type is not manditory in
struts configuration file
strutsstruts why doc type is not manditory in
struts configuration file
struts struts how to write Dao to select data from the database
strutsstruts why doc type is not manditory in
struts configuration file
strutsstruts why doc type is not manditory in
struts configuration file
StrutsStruts Hi i am new to
struts. I don't know how to create
struts please in eclipse help me
struts struts Hi
how
struts flows from jsp page to databae and also using validation ?
Thanks
Kalins Naik
StrutsSetter methods of form bean class in
Struts applications who calls the setter methods of form bean class in
struts applications
Struts Struts What is called properties file in
struts? How you call the properties message to the View (Front End) JSP Pages
Struts Struts in
struts I want two struts.xml files. Where u can specify that xml files location and which tag u specified
strutsstruts which is the best book to study
struts on own?
please tell me
You can learn
struts through the following books:
1)Programming Jakarta
Struts By Chuck Cavaness
2)Professional Jakarta
Struts By James Goodwill
StrutsStruts How
Struts is useful in application development? Where to learn
Struts?
Thanks
Hi,
Struts is very useful in writing web... performance Java web applications that runs on Java enabled application servers.
Struts strutsstruts which is the best book to study
struts on own?
please tell me
You can learn
struts through the following books:
1)Programming Jakarta
Struts By Chuck Cavaness
2)Professional Jakarta
Struts By James Goodwill
Java Struts - StrutsJava Struts How we can create mvc architecture and its
advantages? Hi Friend,
Please visit the following link:
http://www.roseindia.net/
struts/mvc-architecture.shtml
Thanks
What are the advantages of Hibernate?What are the
advantages of Hibernate? Hi,
Tell me the
advantages of Hibernate?
ThanksADS_TO_REPLACE_1
Hibernate
advantages:
Database... at Hibernate
advantages and disadvantages.
ThanksADS_TO_REPLACE_6
strutsstruts how to start
struts?
Hello Friend,
Please visit the following links:ADS_TO_REPLACE_1
http://www.roseindia.net/
struts/
http... through which you can easily learn the
struts.
ThanksADS_TO_REPLACE_2
strutsstruts i have no any idea about struts.please tell me briefly about
struts?**
Hi Friend,
You can learn
struts from the given link:ADS_TO_REPLACE_1
Struts Tutorials
Thanks
strutsstruts hi
i would like to have a ready example of
struts using "action class,DAO,and services" for understanding.so please guide for the same.
thanks Please visit the following link:
Struts Tutorials
StrutsStruts Am newly developed
struts applipcation,I want to know how to logout the page using the strus
Please visit the following link:
Struts Login Logout Application
Struts Struts 1)in
struts server side validations u are using programmatically validations and declarative validations? tell me which one is better ?
2) How to enable the validator plug-in file
strutsstruts please send me a program that clearly shows the use of
struts with jsp
strutsstruts Hi,
1) can we write two controller classes in
struts strutsstruts Hi,... please help me out how to store image in database(mysql) using
struts strutsstruts how to generate bar code for continuous numbers in a loop using
struts ... or atleast for a given number
Struts Struts How will you retrieve a collection of records from business logic to presentation logic in framework