1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

jstl

Discussion in 'JSP' started by nelsonchristos, Aug 18, 2006.

  1. nelsonchristos

    nelsonchristos New Member

    Joined:
    Aug 9, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    how do i get a resultSet from the database using jstl <sql> tag

    the query is to get state,location,sublocations in a table
    and put them in their respective dropdown list

    on selecting the state the locations are to be shown related to that state in dropdown

    and selecting the lcoations the sublocations are to be shown related to that location in dropdown


    the catch is that i need to acces the database just once
    and i need to show only distinct states in the dropdown
     
  2. nelsonchristos

    nelsonchristos New Member

    Joined:
    Aug 9, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    anyway i have used ajax and it has benn good
     

Share This Page