File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Formatted Output in HTML Tables Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Formatted Output in HTML Tables" Watch "Formatted Output in HTML Tables" New topic
Author

Formatted Output in HTML Tables

bhaskarjoshi
Greenhorn

Joined: Apr 04, 2004
Posts: 4
I have a database of 12-14 fields like email,address which are quite long.
I want to display them in HTML tables through JSP
I am not able to format the fields with tables and align them propeerly
I am not getting them formateed aligned,
Main thing is field size varies with tuple to tuple.
So is there any way to get formatted and aligned output through HTML tables,
Help me out plzz..
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50677

"bhaskarjoshi bhaskarjoshi",
We're really glad that you are here with us in the JSP forum, and there aren't many rules you'll have to worry about, but one is that proper names are required. Please take a look at the JavaRanch Naming Policy and change your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.
Thanks!
bear
JSP Forum Bartender


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50677

Since this purely an HTML question, I'm moving this along to the HTML/Javascript forum.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
What problems are you having?
table looks like:

when you do view source what is your table looking like?
 
 
subject: Formatted Output in HTML Tables
 
Threads others viewed
Html Input to oracle through servlet and JSP output
JClass software
Technique for form controls layout?
Table Design using Absolure or Relative
Problem with servlet streaming CSV files in WinXP SP2
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture