Results 1 to 4 of 4

Thread: Use of struts

  1. #1

    Use of struts

    Any body please help me
    whats the use of struts?
    where do we use it in real time?


  2. #2
    Junior Member
    Join Date
    Mar 2008
    Answers
    2

    Re: Use of struts

    Struts is a java MVC framework used for JSP web applications in J2EE environment...

    Use of Struts overcomes some of the problems in the MVC architecture.
    IN the MVC architecture, th controller takes care of all the flow of the application. If there are many JSP pages in the application , then the Controller has many IF statements in it. This is called Fat Controller. Struts overcomes this problems.


  3. #3
    Junior Member
    Join Date
    Jan 2008
    Answers
    5

    Re: Use of struts

    Besides fat controller MVC also has decentralized control of the webapplication.struts provide centralized control of the webapplication by one servlet called ActionServlet.
    Struts also comes up with a set of view library tags which can reduces ur jsp presenation code. In real time u may have the following advantages by using STRUTS.

    The main reason struts to became most popular is very simple to understand and use other than other frameworks ex spring etc.

    1. Reduces the complexity of the code.
    2. let people work individually depend upon their roles(Ex Presentation part Some people can work,Model(Bussiness logic) so, it improves the productivity.
    3. except controll u can customize model and view with ur own frameworks and models even with tailes ext.model u can use ejbs or corbo etc.
    4 . u can easily incorporate others plugingseasly ex hybernaite and etc.


  4. #4
    Junior Member
    Join Date
    Mar 2008
    Answers
    1

    Re: Use of struts

    I would like to Some more points with responses given before this.

    1.Using struts we can handle the entire Controller part of MVC pattern simply with an xml file.

    2. Using Struts API is having lot of packages to perform different kind of server side validations.We can eliminate the disadvantage of using client side validations i.e javascript.

    3.Struts Framework cotains packages to add plugins such tiles framework and also some validation framework such as Dyna validations.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact