File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

out.println

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\" ");
...
out.println("</table>");
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....

Richard
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24184
    
  34

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: out.println