InterviewSolution
Saved Bookmarks
| 1. |
How to get ServletConfig and ServletContext objects in spring bean? |
|
Answer» This can be DONE by either implementing the spring-aware INTERFACES or by using the @Autowired ANNOTATION. @Autowiredprivate SERVLETCONTEXT servletContext;@Autowiredprivate SERVLETCONFIG servletConfig; |
|