what is the disadvantage of struts frame work?

Answers were Sorted based on User's Feedback



what is the disadvantage of struts frame work?..

Answer / suryaprakash

struts is flexible control layer based on the technlogies
like servlets,jsp xml but we can say the main disadvantage
using struts is it support WebApplications only more over
it can't applicable for standalone application this can
resolved in Sping FRAME work

Is This Answer Correct ?    24 Yes 3 No

what is the disadvantage of struts frame work?..

Answer / sudhakar

yes, suryaprakesh is right.i aggree with you

Is This Answer Correct ?    7 Yes 1 No

what is the disadvantage of struts frame work?..

Answer / ajay

struts is good for front end side,it does not provide
anything for databse side,means you have to go for other
technologies to connect to db

Is This Answer Correct ?    9 Yes 3 No

what is the disadvantage of struts frame work?..

Answer / hari

The main disadvantage with Struts framework is it is
Tightly coupled.
for Example
public ActionForward execute(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response) {

Here if we use struts we need to call these 4 parameters
for every class i.e. AM AF,request and response.

Here it goes clear explanation

When comparing with business logic component development in
Struts. In Struts business logic component is derived from
Action class of Struts API.
The method implemented in Action class must be an execute
() method, its arguments are Struts API classes
ActionMapping, ActionForm, HttpServletRequest and
HttpServletResponse and the method return type ActionForward
But the method implementation may contain logic to insert
record into one table. For instance the business method is
saveEnquiry.
But the class, the method name, the method arguments and
the return type of the method are specific to Struts
framework.
If we want to use the saveEnquiry functionality outside the
Struts framework. We cannot execute Action class execute()
method outside the Struts framework.
The saveEnquiry() method functionality became specific to
Struts framework only. Such type of business logic classes,
methods and their implementations are heavy weight.

So this is the main disadvantage of Struts as per my
knowledge.

Is This Answer Correct ?    6 Yes 4 No

what is the disadvantage of struts frame work?..

Answer / viswa

In Struts, no transparency..., almost flow of struts frame
work is internally hidden and Single Contoller (Acton
Servlet) always reduces the performance.

Is This Answer Correct ?    2 Yes 1 No

what is the disadvantage of struts frame work?..

Answer / binesh speridian technologies

It can become difficult to debug with the various .xml
files that Struts relies on. If you have a setting out of
wack, it's not very descriptive on how to fix it or what
the issue is.

* Figuring out what all the .xml attributes and tags is
another issue. Get a GUI plug-in for Eclipse or whatever
IDE you use. They are very useful when learning the Struts
ropes or setting up something such as Validator.

* Using the custom JSP tags, especially iterate, can be
slightly confusing. Same thing with the link tag. There are
scenarios that often come up where you say "I know if I
just used a scriptlet, I could get this to work in
seconds!" So the difficultly comes when you ask "how do I
do this using Struts tags?"

Is This Answer Correct ?    8 Yes 8 No

what is the disadvantage of struts frame work?..

Answer / santosh anand

In struts , their is no facility of backward flow.Suppose we are in page 1 and when we submit it calls action mapping page2.Their may be lot of variable stored in session , which is available to page2.Now we wish to go page1 from page 2, for this we have to call the action mapping of page1. But struts flow is always in forward direction. So when we call page 1, values stored in session never get reversed.So it reduces the performance.To resolve this problem of struts, Their is a framework called Web Flow Nevigation Manager(WFNM) of Sourgeforge.net.This framework can be integrated with struts.

Is This Answer Correct ?    6 Yes 6 No

what is the disadvantage of struts frame work?..

Answer / sunitha

the main disadvantage is we can't come back to the
application.(in reverse order)

Is This Answer Correct ?    3 Yes 7 No

what is the disadvantage of struts frame work?..

Answer / sunitha

the main disadvantage is we can't come back to the
application.(in reverse order)

Is This Answer Correct ?    3 Yes 9 No

what is the disadvantage of struts frame work?..

Answer / pravin

we can write jsp code but managing of .xml file
is very difficult

Is This Answer Correct ?    4 Yes 12 No

Post New Answer

More Struts Interview Questions

Explain the life cycle of a request in struct2 application?

0 Answers  


What does params interceptor?

0 Answers  


What is struts in java with example?

0 Answers  


What is Portlet???? when,where and why we use it ??

3 Answers   Infotech, Rebaca, Wipro,


What helpers in the form of jsp pages are provided in struts framework?

0 Answers  






can anyone help me to send the code for Jasper Reporting in java?plz

3 Answers   CSC, RFT,


What are the main classes which are used in struts application?

0 Answers  


explain method overridding method overloding with examples?

5 Answers   IBM,


Can we integrate struts with spring?

0 Answers  


What is pojo in struts2?

0 Answers  


How to handle exceptions in structs?

0 Answers  


What is apache struts used for?

0 Answers  


Categories