Package com.ponysdk.core.servlet

Examples of com.ponysdk.core.servlet.BootstrapServlet


            // Start webserver
            final ApplicationLoader applicationLoader = new ApplicationLoader();
            final HttpServlet httpServlet = new HttpServlet();
            httpServlet.setEntryPointClassName("com.ponysdk.sample.trading.client.TradingSampleEntryPoint");
            final BootstrapServlet bootstrapServlet = new BootstrapServlet();
            bootstrapServlet.addStylesheet("css/sample.less");
            bootstrapServlet.addStylesheet("css/ponysdk.less");
            bootstrapServlet.addJavascript("script/less.js");

            final Main main = new Main();
            main.setApplicationContextName("trading");
            main.setPort(8081);
            main.setHttpServlet(httpServlet);
View Full Code Here


    protected ServletContextHandler newServletContext() {

        // set default value
        if (httpServlet == null) httpServlet = new SpringHttpServlet();
        if (bootstrapServlet == null) bootstrapServlet = new BootstrapServlet();
        if (httpSessionListener == null && servletContextListener == null) {
            final SpringApplicationLoader applicationLoader = new SpringApplicationLoader();
            applicationLoader.setApplicationID(applicationID);
            applicationLoader.setApplicationName(applicationName);
            applicationLoader.setApplicationDescription(applicationDescription);
View Full Code Here

TOP

Related Classes of com.ponysdk.core.servlet.BootstrapServlet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.