This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JSP and the fly likes jstl table problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "jstl table problem" Watch "jstl table problem" New topic
Author

jstl table problem

Aman Singh
Ranch Hand

Joined: Oct 30, 2008
Posts: 57
Hi Gurus,
Please help me out with this problem. I have a table in the DB with the coulmns listed below. The problem is that the first coloumn contains duplicate names. For example, "abc" is present 4 times in Coolumn ASP1. Now I want to display a filtered table that has rows containing the string "abc" in column ASP1.
Can some please tell me the code for that. or modify the code given below.


Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61092
    
  66

What is qpay?

If it's a list or array, filter it before passing it the JSP. A JSP is no place to do data manipulation.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: jstl table problem