struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nishna <>
Subject Display String in line by line in s:textarea
Date Tue, 25 Nov 2008 06:29:55 GMT

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 struts; I like webworks"; 
      I want that string to be displayed as two lines in textarea.

      Could anyone pls help me in this issue.

    Thanks in advance...!!!

View this message in context:
Sent from the Struts - Dev mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message