Building on top of spring-mvc-showcase and mybatis jpetstore-6
- maven exclusions
- maven scope: compile(default)/provided/runtime/test/system/import
- classpath vs classpath*
- / vs /* url-pattern
- committed file ignore change
git update-index --assume-unchanged [<file> ...]
To undo and start tracking again (if you forgot what files were untracked, see this question):
git update-index --no-assume-unchanged [<file> ...]
Loading properties file
- How to read values from properties file?
- difference-between-web-apps-context-param-and-servlets-init-param
<spring>
<util:properties id="applicationProperties" location="path-to-your-very-long-location" />
<context:property-placeholder properties-ref="applicationProperties" />
</spring>
web.xml