I wanted to add some values to the servletcontext, but am not sure how to get the object in spring. Can anyone please help
Try this:
@Autowired
ServletContext servletContext;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With