spring - How to enable "distributable" programmatically with WebApplicationInitializer -


our webapp configured using spring's webapplicationinitializer like:

@order(1) public class mvcwebapplicationinitializer extends abstractannotationconfigdispatcherservletinitializer {     @override     public void onstartup(servletcontext servletcontext) throws servletexception {         // how enable "distributable" here?     } } 

this app run on tomcat cluster , must therefore marked "distributable" (as explained here). happens adding "distributable" element web.xml. how mark webapp distributable java based config?


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

c# - How do I get the Nth largest element from a list with duplicates, using LINQ? -

jsp - "Sending a redirect is forbidden after the response has been committed" in sendRedirect -