posted 18 years ago
I'm trying to fix someone's code. They have a method in the page for generating table rows. In those rows is a link. I'm used to doing things in custom tags, so I don't know how to do the path translation without the aid of <html:rewrite/>.
Is there some way to sneak a custom tag call in a scriptlet? Alternatively, how do I convert a path like "/assets/scripts/thingy.js" to a web root relative path (say, "/my-war/assets/scripts/thingy.js")?
Thanks!
Jamie