![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Web Programming, Web 2.0 and Mashups Discuss Web Programming and Web Server Administration, including LAMP, Apache, MySQL, Flash, HTML, SEO, Mashups and other Web APIs and topics. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to enter a newline after every XML tag end? | DTechBuddy | Shell Programming and Scripting | 5 | 08-06-2009 02:13 AM |
| add newline in file after finding specific text | jxh461 | Shell Programming and Scripting | 4 | 07-23-2009 01:31 AM |
| how to replace a text with a newline | hegdeshashi | UNIX for Dummies Questions & Answers | 3 | 06-02-2009 08:49 AM |
| newline | Gale Gorman | Forum Support Area for Unregistered Users & Account Problems | 2 | 05-04-2008 01:23 PM |
| Formatting a text file based on newline and delimiter characters | ntekupal | Shell Programming and Scripting | 5 | 05-11-2007 04:33 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
how to get newline in a text box
Hi,
plz ignore the error in subject. i need new line in text area. I am designing a JSP in which i have to display a field taken from oracle DB table in a text area.. field is first selected from oracle thru C++ and passed to jsp in a variable as one long string. the problem is while inserting into the table, line-break/newline are replaced by | symbols and inserted. while getting back the value for display, i want newlines to be displayed instead of | symbols. i tried replacing | by \n in C and passed to jsp, but in the text area, its printing \n instead of new lines. How to achieve this, experts plzzz advice.. actual string Quote:
Quote:
Last edited by suresh_kb211; 09-12-2009 at 08:42 AM.. |
|
||||
|
the tags work in html area.. in text area, its printing everything as it is.. its printing
Quote:
Quote:
and Quote:
. the problem is i get the whole message as 1 complete string, if br or sum tag works, i can append it to the string that is passed from backend. |
![]() |
| Bookmarks |
| Tags |
| newline, text area |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|