Since im new to this kinda stuff.. i need some advice from u guys. Im
building client-server project at the moment using JSP, Servlet,
Beans, Tomcat, etc.
Here's the problem. If i want to write something in a TEXTARE say
like:
Name of Planets:
1. Mars
2. Pluto
3. Saturnus
And then it will be stored in the database. But the when i retrieve
it back from the database it will look like :
"Name of Plantes:1. Mars2. Pluto.3. Saturnus"
instead of
Name of Planets:
1. Mars
2. Pluto
3. Saturnus
How do i actually keep the format the same way i type it (with new
lines after i hit Enter)?
I thought this is automatically done when i set WRAP="Virtual" in the
TEXT AREA
Or do i need to create a method in the Bean to do this?