Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用<html:hidden styleId="user" property="issueBranch" value='' /> For value of<html:hidden>我想设置我从中获得的值<bean:write name="sessionData" property="userId"/> 如何执行此操作?
<html:hidden styleId="user" property="issueBranch" value='' />
<html:hidden>
<bean:write name="sessionData" property="userId"/>
采用
<html:hidden styleId="user" property="issueBranch"/>
并在调度到 JSP 的操作中,将表单 bean 的issueBranch属性设置为您想要的:
issueBranch
myActionForm.setIssueBranch(sessionData.getUserId());