File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Using form properties in an html:link tag
Joined: Sep 12, 2005
Nov 10, 2005 14:23:00
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
<html:link page="/files/pdf/" <insert location property here somehow> >PDF</html:link>
I tried the
accessor route but it didn't work.
<html:link page='<%= "/files/pdf/" + location %>'>PDF</html:link>
Any ideas (or am I being dense and can't read the taglibs provided on the
I agree. Here's the link:
subject: Using form properties in an html:link tag
HTML:link tag with dynamic page attribute?
Bean-based hyperlink not working
Problem showing html:link in jsp
How can this be done better (html:link)
html:link passing multiple parameters
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014