2008/4/25, Pedro Marce Rodriguez <[EMAIL PROTECTED]>:
>  I am using a ViewPrepare method to dinamically generate a menu that will be
> used in my application as a tiles item. I am also using struts2 as my
> framework so some of the anchors of this menu needs to call a s:url tag, but
> when I try to do so the tag is not being used and instead is trying to load
> the s:url as the address. Is it possible to do this, what would need to be
> changed?

Well, what you want to do is impossible, you cannot use JSP tags
inside a ViewPreparer (and generally, in something that creates HTML).
I suggest you to use HTML <a> tags directly.

Antonio

Reply via email to