Parameters are getting lost when you use redirect
or redirectAction
result type. To retain request parameters you should use dispatcher
result type. This is default result type, and it will be used if you miss type
attribute of the result
tag, like this
<result>/ThankYou.jsp</result>
Why param
tag giving null
value. Because the value is converted by OGNL to integer value before adding it to the URL and it throws NumberFormatException
because no such integer can exist. The value exceeds the maximum in Java for integer value. You should use string value in param
tag, like this
<s:url var="remoteurl" action='userimageGrid' escapeAmp="false">
<s:param name="imeino" value="'66666666666'"/>
</s:url>
<s:a href="%{#remoteurl}">Call</s:a>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…