debarshim
Jul 15th, 2009, 01:08 PM
Spring provides custom tag libraries for jsp templates (e.g. form:form)
In my organization, we try to follow the practice of keeping the view (the jsps) completely independent of any MVC technology. The advantage of this loose coupling is that we can potentially change the MVC framework later as required without impacting the views. JSTL + JSP EL 2.0 is OK to use.
My questions :
Has anyone tried to use Spring MVC in a reasonably large environment (around 500+ projects) without being tied down to spring tag libraries? If yes, are there established patterns for do so? For e.g. what would be the best way to carry out form validation (and parameter binding) without depending on the form:form tag? (That was just an example to give you an idea of what's in my mind)
EDIT: We are currently using Struts and are evaluating the possibility of using either one of Spring MVC or Struts2 or JSF. If we lose out a significant portion of Spring MVC's power just due to the inability of using custom Spring tags, that will be an unfortunate reason to not use Spring MVC
In my organization, we try to follow the practice of keeping the view (the jsps) completely independent of any MVC technology. The advantage of this loose coupling is that we can potentially change the MVC framework later as required without impacting the views. JSTL + JSP EL 2.0 is OK to use.
My questions :
Has anyone tried to use Spring MVC in a reasonably large environment (around 500+ projects) without being tied down to spring tag libraries? If yes, are there established patterns for do so? For e.g. what would be the best way to carry out form validation (and parameter binding) without depending on the form:form tag? (That was just an example to give you an idea of what's in my mind)
EDIT: We are currently using Struts and are evaluating the possibility of using either one of Spring MVC or Struts2 or JSF. If we lose out a significant portion of Spring MVC's power just due to the inability of using custom Spring tags, that will be an unfortunate reason to not use Spring MVC