若是是getRequest().setAttribute(「key」,"value")get
在用struts標籤調用的時候要加上requestrequest
例如:struts
<s:hidden name="bycategorytype" id="bycategorytype" value="%{#request.line.pmcd}"/>標籤