Web tier: servlets, JSP, Web frameworks: Fetching data: to use jstl or buisness bean in scriplet

  1. Hi,
    What is the most efficient way to display data in JSP from database(mysql).
    Which one is more efficient : jstl or scriplet(using bean to connect to DB and returning resultset)??
    Please Justify.
  2. Fast Lane Reader[ Go to top ]

    Use a Rowset to get the data from the database. Not sure whether mysql supports it or not. Use the display tag library to display the data in tables with the paging/sorting etc.