Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Even though Servlets and JSP are web based concepts .wht is
the use of using Struts using then

Answer Posted / chandan

If we are developing a web application following MVC architecture using servlets and JSP and without using struts then then we have founds the following drawbacks:
1)struts provides a built-in controller, but when we develope application without struts then we have to develop our own controller which is not reusable and developing controller is a complex task.
2)using struts tiles concept we can achieve the view code(html code) reusability. Although we can achieve it using JSP include mechanism, but JSP include mechanism has some limitations(designing a composite view leads some limitations).So tiles concept provides the better solution for designing a composite view.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of spring mvc over struts mvc?

860


Why struts 1 classes are not thread safe whereas struts 2 classes are thread safe?

869


Which configuration file is used for storing jsp configuration information in struts?

935


What is the difference between empty default namespace and root namespace?

1052


Describe the mvc on struts?

913


What are the differences between http direct and http indirect?

907


What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?

956


Whats the difference between the default namespace and the root namespace?

942


Explain about the tag?

1045


What are the core classes of struts?

977


List some struts tag libraries?

910


Provide some important Struts2 constants that you have used?

942


What is the purpose of @requiredstringvalidator?

921


Why use spring, if you are already using struts?

933


How you will make available any message resources definitions file to the struts framework environment?

922