1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Source code for implementing SEARCH feature using Servlet (JSP/JSF/Java method)

Discussion in 'JSP' started by QuirkyCindy, Jun 18, 2008.

  1. QuirkyCindy

    QuirkyCindy New Member

    Joined:
    Jun 18, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Hi all,

    I'm a newbie but a keen learner.

    Please help me with the source code for implementing Search feature using servlet (JSF/JSP/Jave). I've tried but can't seem to work. Could someone give me an example using the data below:- (search by Name, Dept or DOB)

    Employee Table

    Id
    Name
    Dept
    DOB
    Date

    Search By Name, Dept, DOB

    Id Name Dept DOB Date
    10 Judy BBB 01/01/2008 01/01/2008
    11 Lily AAA 01/01/2008 01/01/2008
    12 Rose CCC 11/01/2008 01/01/2008
    13 James AAA 21/01/2008 01/01/2008
    14 Daisy BBB 01/01/2008 01/01/2008
    ----------------------------------------------

    Ex. Search by name - Judy

    Id Name Dept DOB Date
    10 Judy BBB 01/01/2008 01/01/2008
    ----------------------------------------------

    Ex. Search by dept - BBB

    Id Name Dept DOB Date
    10 Judy BBB 01/01/2008 01/01/2008
    14 Daisy BBB 01/01/2008 01/01/2008
    ----------------------------------------------

    Ex. Search by dob - 01/01/2008

    Id Name Dept DOB Date
    10 Judy BBB 01/01/2008 01/01/2008
    11 Lily AAA 01/01/2008 01/01/2008
    14 Daisy BBB 01/01/2008 01/01/2008


    using Servlet, example in jsf, jsp, java method

    Thank you in advance!!
     

Share This Page