Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using form properties in an html:link tag

Adam Kreiss
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any easy/desirable way to use a form property within an html:link tag?

Background: I'm storing a file on my server and want to link to it. Say its called test.pdf, I would like the final anchor tag to be something like

What I would like to do is something like

I tried the jsp accessor route but it didn't work.

Any ideas (or am I being dense and can't read the taglibs provided on the Struts site )
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic