This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes How To..dynamically generate table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How To..dynamically generate table" Watch "How To..dynamically generate table" New topic
Author

How To..dynamically generate table

shesh anand
Greenhorn

Joined: Feb 10, 2007
Posts: 29
The query is how to generate table dynamically as an user selects according to some conditions...for instance ..."select * from tablename where condition"...now as the where condition changes the value and number of rows o data to be retrieved will certainly change...so what i need is a program in HTML or using javascript to generate tables dynamic in size according to data....i am using JSP....should

"<td><%=request.getString("name")%></td>" and others(attributes) in other rows...fetched from database...bottom line is i need a dynamic search from database on HTML forms using JSP...if any could help
[ April 21, 2007: Message edited by: Bear Bibeault ]
 
Don't get me started about those stupid light bulbs.
 
subject: How To..dynamically generate table
 
Similar Threads
How to create dynamic columns and rows with dynamic values
how to get the index and value from option dropdown listbox in jsp page
Error with jsp and JavaBeans
Read Arabic text in Servlet
Adding Tables Dynamically