HTML 101 the href tag is a String literal which must be enclosed by double quotes e.g.
<a href="http://www.OutsourcingToAliens.com"> <img src="PictureOfMonkeyTypingOnKeyboard.jpg" alt="PictureOfMonkeyTypingOnKeyboard.jpg" /> </a> Viel Gluck Martin ______________________________________________ Verzicht und Vertraulichkeitanmerkung Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > Date: Fri, 12 Jul 2013 13:49:59 -0700 > From: sh_thorn_b...@yahoo.com > Subject: struts2 jquery plugin > To: user@struts.apache.org > > > > the following sample is from Struts2/Jquery plugin sample, and works perfect > > in JSP, > <sj:accordion id="accordionlist" list="accordion"/> > in Action > > private Map<String, String> accordion; public String execute() throws > Exception { accordion = new HashMap<String, String>(); accordion.put("Section > 1", "sample 1"); accordion.put("Section 2", "sample 2"); > accordion.put("Section 3", "sample 3"); return SUCCESS; } public Map<String, > String> getAccordion() { return accordion; } > The above sample for Struts2/Jquery works great. > ************************************************************************ > but, > > how to escape the contents of 'Section 1" ? > i just try to use string "Section 1, <a href='http://www.google.com'> > google</a>" to replace "Section 1", but render result only display text, but > not link. > please advise > thanks in advance > > john