If the email is plain text, include "\n" where you want a line break, like: String textfinal = text01 + "\n" + text02; or String text01 = "This is \nyour email"; If it is HTML, include "<br>" to force a line break. -----Original Message----- From: King Maurice [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 13, 2001 8:23 AM To: [EMAIL PROTECTED] Subject: Re: Can anyone answer this??? HELP Creating JavaMail Program Does anyone know the convention to return to the next line, I am trying to send a message with the user email address in a text filed of the body of the email. I am trying to make it neat visually. my code looks like this String text01 = "This is your email"; // I need the code to return to the next line String text02 = "Email:: " + emailaddress + ""; String textfinal = text01 + text02; newMessage.setText(textfinal); ----- Original Message ----- From: "Rodrigo Lopes" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, May 13, 2001 11:10 AM Subject: Re: Can anyone answer this??? HELP > On Fri, 11 May 2001, Ruaidhr� Fernandes wrote: > > > > > When this is retrieved and put in a html table it is > > displayed as a link, but the problem occurs when I > > retrieve the data to be put in the form fields. I just > > want the <a href ="url">link</a> to be displayed,but > > only the <a href is displayed and part of the link is > > displayed outside the form. > > Well maybe it's because of the double quotes. Try to put in your database > <a href='url'>link</a> or <a href=\"url\">link</a> > If it does not solve the problem send your code for us. > > > Strange stuff. > > > > Anyone know a solution. > > > > Thanks Rui > > > > ===== > > "If a rabbit's foot is so lucky,..... what happened to the rabbit?" > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Auctions - buy the things you want at great prices > > http://auctions.yahoo.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://java.sun.com/products/jsp/faq.html > > http://www.esperanto.org.nz/jsp/jspfaq.html > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > > > T+ > > -------------------------------------------------------------------------- > Rodrigo de Oliveira Lopes "If we knew what it was > Mestrando em Ciencia da Computacao we were doing, > Universidade Federal do Ceara it would not be called research, > [EMAIL PROTECTED] would it?" > [EMAIL PROTECTED] Albert Einstein > > =========================================================================== > 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://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > =========================================================================== 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets =========================================================================== 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
