posted 17 years ago
hi Enoch,
yes, I do think that Context.xml is not being loaded.
Default name for that file is applicationContext.xml, default location is in WEB-INF. If you want it differently, add to you web.xml:
Also: Spring needs commons-logging.jar (typically in WEB_INF/lib), if you want to see any logging. Without further configuration it will end-up in your console, which is fine for studying.
Like
INFO: Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [dataSource,jdbcTemplate,HomeController]; root of BeanFactory hierarchy]
Herman