Re: populate a box
fb wrote:
Hello. I was thinking about writing a program that would send a search
parameter to a database and have the result set displayed in an html or
jsp
JSP ends up as HTML in the browser. It is important
to understand that, and the implications.
....box of some sort, so that if the user clicks that item, they could
be sent to another page that would allow them to do something to that data.
The problem is getting the data from the server to populate inside a
box. I'm not entirely sure what kind of list or combo box I should use,
nor do i know how to place the items in this box.
A Swing based rich client can connect with the (internet
or LAN based) DB. But if you want to keep it light on the
client side, with no Java dependency, it can also be done
with pure HTML, which is open to the widest range of users,
or DHTML (a combination of HTML and JavaScript), that
provides better response, and more ways of updating data.
The last route (DHTML) would be the most common
for internet based DB access, and involves technology
such as AJAX.
... Does anyone know How
I can do this, or have an example somewhere?
If what you want is 'slick access to the D/B for a
business user', I would recommend Swing rich client
(the business user will download the Java Plug-In,
if they need it). OTOH - for getting a 'wide audience',
I would go for DHTML that degraded gracefully to
pure HTML.
Andrew T.