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 Dynamic Table Display 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 "Dynamic Table Display" Watch "Dynamic Table Display" New topic
Author

Dynamic Table Display

Kevin Valencia
Greenhorn

Joined: Aug 20, 2007
Posts: 18
Hi Everyone!
I'm a java newbie and still very unfamiliar on what approach is best to use when displaying a dynamic table in jsp. It is dynamic in the sense that the
number of rows and columns will depend on the user input, after which, the jsp will display the table on the fly. I've read about XSL handling this.

Would really appreciate your expert opinions and if possible, seeing your sample codes would be of greater help.

Thanks in advance!!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

Have you read the JSP FAQ entry on this subject?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Lakshmanan Narayanan
Greenhorn

Joined: Aug 21, 2007
Posts: 3
Hi
with the help of display tag libraries.. you can achive this.
Ref : http://displaytag.sourceforge.net/11/

or you can comeup with your own tags...
[ August 21, 2007: Message edited by: Lakshmanan Narayanan ]
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Originally posted by Lakshmanan Narayanan:
Hi
with the help of display tag libraries.. you can achive this.
Ref : http://displaytag.sourceforge.net/11/

or you can comeup with your own tags


JSP with JSTL is perfectly capable of doing this without the need for third party products or home rolled tags.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Originally posted by Bear Bibeault:
Have you read the JSP FAQ entry on this subject?


Which one is that, Bear?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamic Table Display
 
Similar Threads
Display Data Records in Table
showing values in table on basis of column header
datagrid in JSP using struts 2 framework
SpringMVC Model Object in JSP
Datagrid in Struts 2