Package com.alibaba.wasp.tmpl.fserver

Examples of com.alibaba.wasp.tmpl.fserver.FSStatusTmpl


    FServer fs = (FServer)getServletContext().getAttribute(
        FServer.FSERVER);
    assert fs != null : "No fs in context!";
   
    resp.setContentType("text/html");
    FSStatusTmpl tmpl = new FSStatusTmpl();
    if (req.getParameter("format") != null)
      tmpl.setFormat(req.getParameter("format"));
    if (req.getParameter("filter") != null)
      tmpl.setFilter(req.getParameter("filter"));
    tmpl.render(resp.getWriter(), fs);
  }
View Full Code Here

TOP

Related Classes of com.alibaba.wasp.tmpl.fserver.FSStatusTmpl

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.