• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help with html:link

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author
Posts: 350
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
If you look closely at this tiny ad, you will see five bicycles and a naked woman:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic