Hi Cuong.
Thank you. Your reply solved the prolem.
climbingrose wrote:
From your JSP code:
<s:url value="/Image">
<s:param name="storyId" value="%{id}"/>
</s:url>
There are two things worth noting:
1)Because you're not using includeParams='none', any parameters from your
current page will be appended to the url generated by s:url tag.
Yes.. current page has an id parameter.
2)If %{id} can't be found in the stack, <s:param> has no effects.
that was my mistake.. I was experimenting with <s:push id="id"...
and then forgot to go back to %{story.id}, where story is a property
of the current page action
So I think the code goes wrong because:
1)%{id} can't be found in the stack
2)Your have a parameter call "id" in your current page.
Hopefully that'll help you.
On 6/19/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- Roberto Nunnari <[EMAIL PROTECTED]> wrote:
> I tried to use the same code, and your code in a jsp
> page without tiles, but the result is exactly the
> same.
What version of S2 are you using? What container?
d.
Thank you all and best regards.
--
Robi
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]