Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

retrieving multiple lines in a text area  RSS feed

 
snigdha reddy
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends
I have written Jsp program that have atextarea.If i enter multiple lines with a line break(enter) and submitted in the database.Whe i retrieve the same data using String null values are coming
how to display miltiple lines in a string with line break

thanks and regards
Snigdha reddy
 
Yong Bakos
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Snigha, you should think about formatting your string in a standard way that simplifies storing, retrieving and displaying the string to/from the database. Just experiment a bit and you'll figure it out.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!