|
-
January 22nd, 2003, 09:04 AM
#1
Line feed and carriage return - Text Area of the HTML in JSP
The database that I am using consists of data that has a carriage return and line feed. I am accessing this data and associating it to a javascript variable. But when I try to access this variable, it gives unterminated string literal error. This is because, in the servlet that is generated from JSP breaks the line into the next line because of the carriage return.
How do I overcome this problem?
-
January 22nd, 2003, 03:41 PM
#2
Why not parse the data server-side using JSP and remove the carriage return?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|