Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help with html:link

 
Radha Krishnan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Author
Ranch Hand
Posts: 350
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic