public class ExportHelper
extends java.lang.Object
构造器和说明 |
---|
ExportHelper() |
限定符和类型 | 方法和说明 |
---|---|
static org.springframework.web.servlet.ModelAndView |
excutePageMethod(java.lang.Object controller,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String pageMethodParameterName)
执行pageMethodParameterName参数指定的Controller方法
|
public static org.springframework.web.servlet.ModelAndView excutePageMethod(java.lang.Object controller, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String pageMethodParameterName) throws java.lang.NoSuchMethodException, java.lang.reflect.InvocationTargetException
controller
- Controller实例request
- response
- pageMethodParameterName
- 标识pageMethod的Request参数名java.lang.NoSuchMethodException
- 无此方法:public ModelAndView excutePageMethod(HttpServletRequest
request, HttpServletResponse response)java.lang.reflect.InvocationTargetException
- 执行Controller方法时发生错误