Thursday, 13 March 2014

Code for getting data from database split in our jsp page

<% String msg[]=feedback.getMessage().split("~");%>
        <textarea rows="7" cols="120" style="width:auto;">
            <%for(int j=0;j<msg.length;j++){%>
             <%=j+1%>. <%=msg[j]%>
    <%} %>
        </textarea> 

No comments:

Post a Comment