• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

[html:rewrite]-type path translation in scriptlet?

 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic