HI Friends
Long time ago I had a problem with a html table generated with servlet, It show me a lot of white spaces (a blank space before the table).
I remember that there was an article that explain the cause of this, but i not found it now!.
My question is anybody know where is this article??
I want to share it with some friends that lamentably continue using this.
Gracias
Bear Bibeault
Author and opinionated walrus
Marshal
The appearance in the browser is entirely controlled by the HTML that is sent. So if it doesn't look like what you want, you need to find out what it is in the HTML that's wrong. Then fix the servlet to generate the correct HTML.
In general, servlets should not generate HTML at all. They should forward to a JSP that creates the HTML view.