This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 24183
    
  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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: out.println
 
Similar Threads
unusual errror:driver does not support function
Connection Pooling
Problem in Query
Two questions on " JSP SYNTAX 1.2 " issued by SUN
whitspaces