wood burning stoves*
The moose likes Struts and the fly likes Using form properties in an html:link tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Using form properties in an html:link tag" Watch "Using form properties in an html:link tag" New topic
Author

Using form properties in an html:link tag

Adam Kreiss
Ranch Hand

Joined: Sep 12, 2005
Posts: 35
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 )
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using form properties in an html:link tag
 
Similar Threads
How can this be done better (html:link)
HTML:link tag with dynamic page attribute?
Problem showing html:link in jsp
html:link passing multiple parameters
Bean-based hyperlink not working