Does Struts Makes Users to Strictly Follow MVC

Discussions

Web tier: servlets, JSP, Web frameworks: Does Struts Makes Users to Strictly Follow MVC

  1. Does Struts Makes Users to Strictly Follow MVC (3 messages)

    The question that I want to ask is that is struts as a web development framework makes the user strictly follow the MVC Model or is it upto the developer to use it where he thinks it is good.

    Threaded Messages (3)

  2. Does Struts Makes Users to Strictly Follow MVC[ Go to top ]

    In MVC2 paradigm, there is a separate front controller (ActionServlet), View (JSP) and model. Struts framework is modelled to adhere to the MVC and hence Struts applications enforce MVC.
  3. but...[ Go to top ]

    but you're free to do whatever you want. I've seen some very ugly stuff, with little or no adherence to mvc.
  4. but...[ Go to top ]

    but you're free to do whatever you want. I've seen some very ugly stuff, with little or no adherence to mvc.
    Yeah, I think MVC will eventually move towards a pull model vs. push. Component models like JSF use a pull model approach that basically puts the controllers in your session/request and the view can pull the data it needs.