Mail Archive Home | enhydra List | June 2004 Index
| <-- Date Index --> | <-- Thread Index --> |
V Út, 08. 06. 2004 v 05:31, boxes_cu@xxxxxxxxx píše: > I'm trying to show some articles(in .pdf, .doc) which are in a > database into a web page. I know already how to retrieve them from the > database but I don't know which tag I could use in the HTML to say > that there(in some place on the page) it will be a .pdf or a .doc and > dynamically put it later. If somebody could help, I'll preciate it. The tag you search for is named <span>. Example HTML: <span id="article">here will be an article from database</span>. It's up to you to convert the article either to plain text (then you can use good old 'page.setTextArticle(article);'), or to format it to HTML and then insert the HTML subtree into the <span> pair :) Petr
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.