Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Struts the Advantages of Struts

Have Programming Question? Ask it here!
 
 
 


Clark
the Advantages of Struts
2 Answer(s)      3 years and 8 months ago
Posted in : Struts


What are the Advantages of Struts ?


Advertisement
View Answers

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:
the Advantages of Struts
the Advantages of Struts   What are the Advantages of Struts
Advantages of JSF
Advantages of JSF  What are the advantages of JSF
Advertisements
Advantages of ORM
Advantages of ORM  What are the advantages of ORM like hibernate
advantages of Servlets
advantages of Servlets  What is advantages of Servlets ?    Portability. Powerful. Efficiency. Safety. Integration. Extensibilty. Inexpensive
Hibernate Advantages
In this section we will discuss hibernate advantages
Advantages of XML
Advantages of XML   hello, what are the advantage of XML?   Hii, 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 be combined with any
What are the advantages and disadvantages of CSS?
What are the advantages and disadvantages of CSS?  What are the advantages and disadvantages of CSS
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
advantages of get method?
advantages of get method?  php in what is advatages of get methods and how you can use get methods
What are the advantages of Hibernate?
What are the advantages of Hibernate?  Hi, Tell me the advantages of Hibernate? Thanks   Hibernate advantages: Database independent... at Hibernate advantages and disadvantages. Thanks
What are the advantages of using Stored Procedures?
What are the advantages of using Stored Procedures?  What are the advantages of using Stored Procedures
Advantages of Testing tools
Advantages of DbUnit       The reasons to use this testing tool can be summarized as follows : A framework which simplifies operations for each stage in the life
What are the features and advantages of OBJECT ORIENTED PROGRAMMING?
What are the features and advantages of OBJECT ORIENTED PROGRAMMING?  What are the features and advantages of OBJECT ORIENTED PROGRAMMING
VoIP Advantages
VoIP Advantages          The Advantages and Disadvantages of VoIP VoIP, or Voice over...;  Advantages and Disadvantages of VOIP-Intertangent Technology VOIP may
Advantages of Outsourcing,The Benefits of Outsourcing,Offshore Outsourcing Advantages
The Advantages of Outsourcing Introduction Outsourcing is one of the most discussed issues today. Many believe.... We shall now discuss the advantages of outsourcing both to the country
Benefits of Outsourcing - Outsourcing Benefits and Advantages
identified several other advantages. These include having experts from different
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
Hibernate advantages and disadvantages
Hibernate advantages and disadvantages In this section we will discuss Hibernate advantages and disadvantages, and see why we should or shouldn't use... program and become productive. But we will see the advantages
what is the Advantages moqui framework vs other frameworks
what is the Advantages moqui framework vs other frameworks  Can you please, tell me what is the Advantages moqui framework vs other frameworks.. Thanks in advance
Advantages of GPS
Advantages of GPS GPS or Global Positioning System has many advantages in context of the security as well as keeping ourselves updated with the location... in the process from the field and deliver it to the base of operation. The many advantages
Advantages and Drawbacks of Fleet Management
One must look into all the advantages and drawbacks of Fleet Management when they are planning to go in the fleet business. Some of the advantages of fleet...: There are no big drawbacks of managing a fleet instead its advantages has
STRUTS
STRUTS  MAIN DIFFERENCES BETWEEN STRUTS 1 AND STRUTS 2
STRUTS
STRUTS  MAIN DIFFERENCES BETWEEN STRUTS 1 AND STRUTS 2
Struts
Struts   How to retrive data from database by using Struts
Struts
Struts  how to learn struts
Struts
Struts  what is SwitchAction in struts
STRUTS
STRUTS   Request context in struts? SendRedirect () and forward how to configure in struts-config.xml
struts
struts  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
Advantages and Disadvantages of the Collection Framework
Advantages and Disadvantages of the Collection Framework... will learn the advantages and disadvantages of Java Collection Framework. A collection... ordered and unordered elements.  Advantages of collections framework
struts
struts 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  what are the 4 methods of struts framework
Struts
Struts  Tell me good struts manual
Java Struts - Struts
Java 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
Struts
Struts   When Submit a Form and while submit is working ,press the Refresh , what will happen in Struts
struts
struts  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
struts
struts  i have no any idea about struts.please tell me briefly about struts?**   Hi Friend, You can learn struts from the given link: Struts Tutorials Thanks
struts
struts  why doc type is not manditory in struts configuration file
struts
struts  why doc type is not manditory in struts configuration file
struts
struts  why doc type is not manditory in struts configuration file
struts
struts  why doc type is not manditory in struts configuration file
struts
struts   how to write Dao to select data from the database
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
Struts
Setter methods of form bean class in Struts applications  who calls the setter methods of form bean class in struts applications
struts
struts   Hi how struts flows from jsp page to databae and also using validation ? Thanks Kalins Naik
Struts
Struts  Hi i am new to struts. I don't know how to create struts please in eclipse help me
Struts
Struts  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
struts
struts  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
struts
struts  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
struts
struts  how to start struts?   Hello Friend, Please visit the following links: http://www.roseindia.net/struts/ http://www.roseindia.net... can easily learn the struts. Thanks
 

 

 

DMCA.com