Package org.xadoop.servlet

Examples of org.xadoop.servlet.ResourcesServlet


      Server server = new Server(port);
      Context context = new Context(server, "/" + contextName, Context.SESSIONS);

      // add servlet
      context.addServlet(new ServletHolder(new XadoopServlet()), "/*");
      context.addServlet(new ServletHolder(new ResourcesServlet()), "/resources/*");
      context.addServlet(new ServletHolder(new ResourcesServlet()), "/upload/*");

      // init
      XadoopInit.init(context.getServletContext(), "props/", "upload/");

      // start HTTP server
View Full Code Here

TOP

Related Classes of org.xadoop.servlet.ResourcesServlet

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.