According to TLD or attribute directive in tag file, attribute name does not accept any expressions
问题 I write the following code in JSP. <% String p_loginPassword = OpeCommon.LOGIN_PASSWORD; String p_encryptCode = OpeCommon.encriptPassword(OpeCommon.KEY_USER_ID, OpeCommon.KEY_USER_PASSCODE); %> <s:url id="printURL" action="actMod" method="printout"> <s:param name="<%=OpeCommon.LOGIN_PASSWORD %>"><%=OpeCommon.encriptPassword(OpeCommon.KEY_USER_ID, OpeCommon.KEY_USER_PASSCODE)%></s:param> </s:url> It displays error : According to TLD or attribute directive in tag file, attribute name does not