application context used in spring boot code example
Example 1: context path spring boot
server.servlet.context-path=/baeldung
Example 2: get spring application context
public class SpringBean {
@Autowired
private ApplicationContext appContext;
}