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



Home Answers Viewqa Struts the Advantages of Struts
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Clark
the Advantages of Struts
2 Answer(s)      4 years and a month 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
What are Advantages and Disadvantages of AJAX
What 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
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
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
VoIP Advantages
VoIP Advantages          The Advantages and Disadvantages of VoIP VoIP, or Voice over...;  Advantages and Disadvantages of VOIP-Intertangent Technology VOIP may
Benefits of Outsourcing - Outsourcing Benefits and Advantages
identified several other advantages. These include having experts from different
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
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
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
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
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  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  what is SwitchAction in struts
Struts
Struts  how to learn struts
STRUTS
STRUTS   Request context in struts? SendRedirect () and forward how to configure in struts-config.xml
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  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
 

 

 

DMCA.com