Hi neeta,
though i didn't get you exactly i think this:: as the database entries
increases, it should be reflected in the UI(html forms), should be ur
problem, right!
as soon as the servlet initializes, thru' some method, u query the databse
for the exact no of entries and accordingly fill the form! and for editing
that particular selected entry from the options, u capture that
corresponding click event from JS and invoke another servlet for editing
the
database ....
u can connect ur javascript code with java and vice-versa using
LIVECONNECT.
for details about this u can surf http://developer.netscape.com.
all the best buddy
ks
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 08, 2001 5:38 PM
To: [EMAIL PROTECTED]
Subject:
Hi !!
Is it possible to create a browsable and editable database in tabular
format
using servlets? This operation should be on the browser i.e Netscape and
IE.
And
I have a table with following columns
------------------
code | description
------------------
1 | student
2 | faculty
3 | others
. | ...
. | ...
. |....
50 |....
------------------
Now I want to take these values and display description in the HTML form
(<select> <option value= >) so that the user can select from the options
since as the number of type of member grows it's not possible to remember
the codes.
Any ideas how is it possible to do so, so that if the table changes those
changes are reflected in the <select><option> </select> list?
Thanx,
-Neeta
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html