This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Help with html:link 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 "Help with html:link" Watch "Help with html:link" New topic

Help with html:link

Radha Krishnan

Joined: Dec 26, 2003
Posts: 1
Hi! There,
In my back end stand alone helper java classes I am using <html:link> tag.
And, in the tag library that uses the information from the above mentioned java class I am using StringBuffer.append to store values & to display them.
But, the <html:link> doesn't get rendered as <a href></a> in the tag library; it stays as <html:link> itself.
On the other hand, if i write the <html:link> directly in the tag library it does.
I understand the problem; the <html:link> from the java class is directly converted into a string by StringBuffer.append. It doesn't go to the JSP engine. So, it doesn't get converted into <a href>.
How do I resolve thi
Rick Hightower
Ranch Hand

Joined: Feb 20, 2002
Posts: 350
Perhaps you should reevaluate how you are using JSP and Struts.
Pardon for any apparent harshness.
Can you give more details about what you are trying to do?

Rick Hightower is CTO of Mammatus which focuses on Cloud Computing, EC2, etc. Rick is invovled in Java CDI and Java EE as well. linkedin,twitter,blog
wood burning stoves
subject: Help with html:link
Similar Threads
JSP html link
Problem with html:link forward="" tag
Problem forwarding to another page using struts.
[Struts & Hibernate] Edit & Delete rows
html:link/bean message