如何在我的 Struts2 自定义拦截器中捕获此参数,从 JSP 页面发送?
<s:url var="remoteurl" action="jsontable">
<s:param name="gridName">gridTableID</s:param>
</s:url>
<sjg:grid
id="gridTableID"
caption="Customer Examples (Local Data)"
href="%{remoteurl}"
gridModel="gridModel"
rowNum="-1"
hidegrid="true"
....
编辑:我的自定义堆栈:
<interceptors>
<interceptor name="logingInterceptor" class="com.interceptors.LoggingInterceptor"></interceptor>
<interceptor-stack name="newStack">
<interceptor-ref name="logingInterceptor" />
<interceptor-ref name="defaultStack" />
</interceptor-stack>
</interceptors>
<default-interceptor-ref name="newStack"></default-interceptor-ref>