stringbuffer.append("<br>" + "<a href=\"" + http://www.yahoo.com + "\"
target=\"_blank\">" + www.yahoo.com + "</a>\n ");

-----Original Message-----
From: sufi.m [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 12:40 PM
To: sufi.m; JSP-INTEREST
Subject: url from servlet ??


Hi, I am writing a servlet, and trying to displat a url, for example :

stringbuffer.append("<br>" + "<a href=\"" + www.yahoo.com + "\"
target=\"_blank\">" + www.yahoo.com + "</a>\n ");

But it does not work, and this is the link that shows when I put the
mose
over www.yahoo.com :
http://gisgo:8080/demo/servlet/www.yahoo.com

Please help

_________________________________________________________________
Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp

========================================================================
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.303 / Virus Database: 164 - Release Date: 11/24/01

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.303 / Virus Database: 164 - Release Date: 11/24/01

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to