wood burning stoves 2.0*
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Help with html:link" Watch "Help with html:link" New topic
Author

Help with html:link

Radha Krishnan
Greenhorn

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
Author
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help with html:link
 
Similar Threads
[Struts & Hibernate] Edit & Delete rows
Problem with html:link forward="" tag
JSP html link
Problem forwarding to another page using struts.
html:link/bean message