Is it possible with java to display html pages in a table.
This is what I'm looking for. I need to randomly (onload) display html pages
in a table. However it needs to get the html pages from a derectory. So for
instance if I have a cell named "sale" it needs to get a random html page,
picture and text, from the directory "sale" and put in the cell.
It needs to do this for several catogories.
Would I be pushing my luck if I can also have a search button that does
this? Like if somebody searches for "rubber ducky" it would go through my
site, and displays all the HTML pages with rubber ducky in seperate
cells....
Am I asking for to much?
> Is it possible with java to display html pages in a table.
>
[quoted text clipped - 10 lines]
>
> Am I asking for to much?
Java really has nothing directly to do with HTML except that you can use a tag
to embed an applet in an HTML page. HTML is typically produced by JSPs and, to a
lesser extent, servlets, which are Java technologies. However there is
absolutely no boundary to what HTML you can produce with them. As for
dynamically including content in a page, that's exactly what the aforementioned
technologies are for. You may find it a bit tricky to randomly select some HTML
pages that you haven't explicitly named anywhere, but you can use your
imagination. On a side note, consider switching to a tableless layout. That's
all I'll say since this isn't an HTML group :)
Thomas G. Marshall - 26 Feb 2005 18:37 GMT
Ryan Stewart coughed up:
>> Is it possible with java to display html pages in a table.
>>
[quoted text clipped - 10 lines]
> Java really has nothing directly to do with HTML except that you can
> use a tag to embed an applet in an HTML page.
Huh? No, the Document types within java all allow types of text/html.
Usually via setContentType("text/html"). Usually by using a JEditorPane
object.
And those document types can appear anywhere any other display object can,
even in the middle of a table.
> HTML is typically
> produced by JSPs and, to a lesser extent, servlets, which are Java
[quoted text clipped - 5 lines]
> imagination. On a side note, consider switching to a tableless
> layout. That's all I'll say since this isn't an HTML group :)

Signature
"It's easier to be terrified by an enemy you admire."
-Thufir Hawat, Mentat and Master of Assassins to House Atreides