form表单中action是用来干什么的?
4 回答

鸿蒙传说
TA贡献1865条经验 获得超7个赞
ActionForm 可以直接放页面属性,那么你在 action中具体 的excute 方法中实例化, 那样 AcitionForm 可以在请求动作中自动对 AcitionForm中 的参数自动进行set 和get 操作

慕婉清6462132
TA贡献1804条经验 获得超2个赞
form是一个表单
action是转向地址,即form表单需要提交到哪里
form表单中的所有参数可在转向后的页面或者类通过
request.getParameter("BgColor")
request.getParameter("RedirectURL")
request.getParameter("FormCharset")
获得相关参数值
添加回答
举报
0/150
提交
取消