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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice