If you don't want a link to be relative to the page launching it, you have to put the full address including the http:// is the href.
-----Original Message----- From: sufi malak [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 28, 2001 9:40 AM To: [EMAIL PROTECTED] 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 =========================================================================== 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
