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.
2)If %{id} can't be found in the stack, <s:param> has no effects.

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.




      
____________________________________________________________________________________
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Regards,

Cuong Hoang

Reply via email to