struts include action include the context-relative URI specified by the parameter attribute. and jsp include tag also does that. So,whats the difference between normal jsp include tag i.e and struts include action?
struts include action include the context-relative URI specified by the parameter attribute. and jsp
Share
Right from the documentation:
Struts is a front controller, that handles form bean population, locale detection, exception handling, form validation, authorization, etc. This might be useful to do before including the URI (or after, for exception handling).
But if you start a Struts application from scratch, you shouldn’t have to use it. It’s useful when you already have a servlet and want to include it inside a STruts application without rewriting it using Struts.