Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet display problem

 
Kumar Vinay
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi folks,
I am doing a project in servlets where in i am coming across some problems.
I am trying to read the text from a database which has to displayed on the screen using servlet. I don't how to store all the details of paragraph, tabs, carriage feeds what the user types in a form which will be stored in the d/b.
This is exactly same as how i am typing here. All the paragraphs what i am typing here is reflected correctly on the final display of my question. But in my case it is just appending
could anyone help me
Bye
Vinay
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13074
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are going to have to learn HTML markup to get control over the appearance of the text. As a cheap and quick shot see what happens if you use the <pre> ... </pre> tags (for preformatted)
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic