944,135 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 985
  • Java RSS
Oct 19th, 2007
0

export to html

Expand Post »
hi guys

how do you export your database to html format?

my project goes like this: we built a simple music manager that adds, edits, deletes, searches and sorts records (that's track listings) excluding the multimedia part (i.e. play a track, etc.. our prof didn't require us to do that, just simple file manipulations...) . we already did all that but got stuck with our prof's last requirement, exporting all the track listings/ records to HTML in table format. please help! thanks!
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
sakura_fujin is offline Offline
27 posts
since Mar 2007
Oct 19th, 2007
0

Re: export to html

Do you know what an HTML table looks like?

Do you know how to receive a listing of the tracks using JDBC?

Well, get your listing and loop over it inserting the TD tags around each field and TR tags around each row.
Moderator
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
masijade is offline Offline
4,043 posts
since Feb 2006
Oct 19th, 2007
0

Re: export to html

no , our prof didn't taught us how to use JDBC. wait a minute, can you actually write html tags together with your java code? is that permissible?
Reputation Points: 10
Solved Threads: 0
Light Poster
sakura_fujin is offline Offline
27 posts
since Mar 2007
Oct 19th, 2007
0

Re: export to html

It's not suggested, but you didn't say whether your class was only servlets, only JSP with scriptlets (both of these first are not the correct way), or whether it is with full BEAN/tag/Whatever support (which is the correct way), or whether your class is a simple standalone and you should just produce a "sstatic" html page.
Moderator
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
masijade is offline Offline
4,043 posts
since Feb 2006
Oct 19th, 2007
0

Re: export to html

i think it's the last one you said. i have to produce a html file from the track listings in the music manager database and that my code is pure hard coded...
Reputation Points: 10
Solved Threads: 0
Light Poster
sakura_fujin is offline Offline
27 posts
since Mar 2007
Oct 19th, 2007
0

Re: export to html

Moderator
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
masijade is offline Offline
4,043 posts
since Feb 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: how to make a textfield in html form readonly in servlet
Next Thread in Java Forum Timeline: Hi Help me with Multilevel feedback scheduling





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC