Question:
What are the drawbacks of Struts
Answer:
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. Source: CoolInterview.com
The Draw of Struts is Navigation of Different pages.
Case: Suppose we have 10 pages right now we r in 4 page we want to go to 2 page by using <- we went to 2nd page after modification is done in 2nd page we come to 3 ,4 .. pages the was not persist it seems new pages. Source: CoolInterview.com
Answered by: Ramarao | Date: 1/31/2010
| Contact Ramarao
1.Servlet depandancy is there in form of front controller. 2. Not for small application bcoz it has wrodst documantion. 3.Bigger learning curve means flow of architecture 4.Less transparance mean we cant understand easly flow of data. 5.Rigid Approach means it is nat a flexible Source: CoolInterview.com
Answered by: Nishant Chandrakar | Date: 4/9/2010
| Contact Nishant Chandrakar
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|