Re: Display the string line by line in s:textarea

2008-11-24 Thread ManiKanta G
Hi, For example: I am having, String str="I like struts; I like webworks"; > I want that string to be displayed as two lines in textarea. > try using HTML special char: , like String str="I like struts; I like webworks"; I found this some where. ManiKanta

Display the string line by line in s:textarea

2008-11-24 Thread Nishna
Hi All, I am getting string from database. I want to display the string line by line in my s:textarea. I am tried with \n between each statement in my string. But, still, it is getting displayed as continuous text. For example: I am having, String str="I like stru