File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 13037
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
jQuery in Action, 3rd edition