File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes out.println Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "out.println" Watch "out.println" New topic


Richard Mendoza
Ranch Hand

Joined: Feb 26, 2003
Posts: 48
im using a table in my jsp using the out.println command as shown...
out.println("<table border=\"0\" ");
inside my body tag, i also used the marginwidth and marginheight equal to 0.
my problem is,, when i run my jsp using IE there are a lot of blank spaces before the table...I don't know what caused the spaces....
Your help will be very much appreciated....
Thank you....

Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

Do a "view source" in a browser, and look at the HTML. Have a look at what comes before the table -- perhaps you'll be surprised.

[Jess in Action][AskingGoodQuestions]
subject: out.println
It's not a secret anymore!