Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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 )
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic