Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Need help about TEXTAREA in FORM

  Asked By: Mada    Date: Aug 19    Category: Java    Views: 732
  

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?

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Need help about TEXTAREA in FORM Or get search suggestion and latest updates.




Tagged: