js| Solve | The problem
The recent use of JSP to do news release found that the rs.getstring () obtained by the string inside the space and the line of change are not shown,
First analysis of the reasons, I used the MySQL database, the news content used is the text type, view the database uploaded news found inside the line and space can be displayed, this explains, affirmation is to use rs.getstring when the problem, first view the java.sql.* API wants to use a different get method, try a few results,
There are similar problems on the web, but most of them are done in a servlet or in a bean, and I think it's complicated.
Finally found the solution in the call Rs.getstring page inside the table to add style= "Word-break:break-all"
The <pre>rs.getstring () <> label is used to show the problem of line wrapping. <pre></pre> This must not be less, in the form added style= "Word-break:break-all" to prevent a long string of English characters to open the table