![]() |
| ||
| displaying data from oracle database in drop down menu using jsp Hi, I am developing one website in which i have around 21 table in my database out of which 8 are master tables and rest are secondry tables. I want the data stored in some columns of master table to be displayed as drop down menu in my secondry table. few Column names are same in secondry table and master table. how do i do that??? |
| ||
| Re: displaying data from oracle database in drop down menu using jsp by learning all about master-detail forms and queries, and learning why you should not use Java code from JSP. |
| ||
| Re: displaying data from oracle database in drop down menu using jsp Quote:
http://www.adp-gmbh.ch/ora/sql/outer_join.html |
| ||
| Re: displaying data from oracle database in drop down menu using jsp I think he is asking how to display the column names in dropdown.. If thats the case use java code in your jsp(Though not the best practice). Create a set with all the values and then parse it to display in the dropdown.. So as you told you dont want repeated data you can use something like this... Quote:
Hope that help.. Also remember if you are doing in jsp itself then generic type wont work and throw exceptions afterwards while accessing.. |
| All times are GMT -4. The time now is 1:37 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC