jsp>action

1、用form表单传值,必须写在form中。可以用

<s:form onsubmit="return check()" action="action!d.do"  mothed="post">

<s:hidden name="param" value="q">  textfield password ...

 获取:ServletActionContext.getRequest().getParameter("param");param 必须加get,set

原文地址:https://www.cnblogs.com/xumin/p/2759189.html