title: How to get localized message in custom tag in Spring MVC
body: <p>In my application there is a custom tag(extending BodyTagSupport).There is a requirement to get the localized message from the properties file in the Tag.I define messageSource in dispatcher-servlet.xml file.Now how can I use this in the tag file.please help me.</p>
  
  <pre><code>    &lt;bean name="messageSource"
      class="com.application.core.TestResourceBundleMessageResource"&gt;
      &lt;property name="basename" value="welcome" /&gt;
  </code></pre>