Could somebody please help me with this one?
Roberto Nunnari wrote:
sorry.. my previous message was misstyped in the second question..
let me repost it corrected:
Hello list.
I'm learning S2 and I'm a bit puzzled with the following:
<img src="<s:url value="/Image"><s:param name="storyId"
value="%{id}"/></s:url>"/>
I would expect the generate HTML to be something like:
<img src="/iopinion_hibernate00/Image?storyId=11"/>
but instead I get:
<img src="/iopinion_hibernate00/Image?id=11"/>
do I miss anything?
also, jstl let me do something like:
<c:url var="imgURL" value="/Image">
<c:param name="storyId" value="${story.id}"/>
</c:url>
<img src="${imgURL}"/>
is there anything similar in S2?
Thank you in advance.
Best regards.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]