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