我正在实施地理服务器的 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;
}
}
我该怎么做?