Hey!

This requirement suggests the use of an applet.  It interacts with the user and
the easiest way to implement it is with an applet doing a JDBC connection to your
DB.  Doing that much interactivity requires alot of work using servlets.  Plus a
servlet design, if you you cookies or Java script makes your software non 100%
Java and therefore less portable.  If portability is not a concern, then search
this list's archive.  Many many posts contain designs for doing what you require.

We use a combination of applets and servlets in a corporate intranet environment.
When it makes sense to use a servlet, we do.

Lalith, "using applets it's very easy but what I need is using servlets" why.
Just curious.

Danny Rubis

Lalith Jayaweera wrote:

> Hi,
>
> In my project there is a particular user interface with two combo
> boxes(choice) and other fields as well. Firstly the user has to select the
> interested department from the first combo box and depending on the first
> combo box next combo box has to be populated from a database, second combo
> is the lecturer name(eg if the user selects Computer department from the 1
> st combo box all the lecturers belongs to computer department has to be
> populated on the next combo box)
>
> Both combo boxes has to be populated from the back end database.(I have only 5
> departments because of this If only for the first combo box I can
> straighterway give values without connecting to the database)
>
> And most importantly, this task has to be done only using a single screen
> which is quite natural(basically what it does is select a dept then lecturer
> belongs to selected dept and then fill his/her details in the other test
> fields)without
> submitting many screens.
>
> And What I need is WITHOUT considering JAVA APPLETS how can I do this using
> JAVA SERVLETS.(using applets it's very easy but what I need is using servlets)
>
> Write me soon
>
> thanks
>
>   lalith
>
> ___________________________________________________________________________
> 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

Reply via email to