Metawerx Java Hosting Small Logo

Advantages of specifying Parameter Values in web.xml

  • Using your own settings file requires additional coding and management.
  • Hard-coding parameter values directly into your application code makes them more difficult to change in the future, and more difficult to use different settings for different deployments (eg: JDBC settings, mail server address).
  • Other developers using your code will be able to find any relevant parameters more easily, as this is a standard location for such parameters to be set.
navigation
metawerx specific
search
Share
tools
help

referring pages

Share