这样提交当然不行了,因为所提交的页面为action中的,所以并没有得到loginOK.jsp后面的1
可以这样
在页面中
<html:link page="/loginOK.jsp?a=1">test</html:link>loginOK.jsp中:
<%=request.getParameter("a")%>