Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Problems with line separators

  Asked By: Hondo    Date: Jul 15    Category: Java    Views: 1184
  

Im developing a servlet, i have a problem when i put a string in HTML
with the method HTMLFilter.filter, the "\n" line separators doesn't
work. How I can separate an String into multiple lines in HTML?

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Freddie Evans     Answered On: Jul 15

Replace ur "\n" with "<BR>"..............

 
Didn't find what you were looking for? Find more on Problems with line separators Or get search suggestion and latest updates.




Tagged: