permaculture playing cards
The moose likes Servlets and the fly likes servlet display problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet display problem" Watch "servlet display problem" New topic

servlet display problem

Kumar Vinay

Joined: Sep 29, 2000
Posts: 23

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
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13018
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)
I agree. Here's the link:
subject: servlet display problem
It's not a secret anymore!