struts2 action向jsp传值方法 (struts2: how to set parameter?)

/apples.jsp?param='variableHere'

action:/apples.jsp?param='variableHere'

 

 

struts.xml: if (multipleUsers) return "selectuser"; else if (!getMultiUser()&&!getMultipleRoles()) { //here I would like to set parameters! return "apples"; }

 

例如:

/apples.jsp?id=${id} //id为action中某个成员

 

你可能感兴趣的:(struts2 action向jsp传值方法 (struts2: how to set parameter?))