如何在地理服务器的OWS中获得ModelAndView?

时间:2015-07-04 11:46:21

标签: java geoserver modelandview

我实施 geoserver的OWS 。我希望specific method of the OWS获得ModelAndView如下:

import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.ModelAndView;

    public class HelloWorld {

      public HelloWorld() {
        // Do nothing
      }

      public ModelAndView sayHello(HttpServletRequest request, HttpServletResponse response)
      throws ServletException, IOException, Exception {
        ModelAndView m = new ModelAndView("index");

        return m;
      }
}

我该怎么做?

0 个答案:

没有答案