Field « Database « JSP-Servlet Q&A





1. Store DB field to File    stackoverflow.com

I have a String field in the DB (mySQL) and on click of a button on a JSP page I want to download the contents of that field to a file ...

2. Present Database Field LIst    coderanch.com

I'm trying to generate a SQL statement based on a table name the user enters. Here's the scenerio: ==================== A user enters a table name into a JSP page TEXT field. I now want to populate a list (combo or whatever) with all the fields in a database table (returned from a RecordSet or Columns object) based on this entered table ...

3. retrieving primarykey based on another field from the database for populating a tree structure.    coderanch.com

Hi All, I have a JSP where in I populate a tree structure by retrieving values from the database. I also have a search option(text-box and a submit button) wherein I type a search criteria. When ever I search for something I want to make the search criteria as the root and populate the tree structure accordingly. For this I have ...